Some problem about Linking DSP Library

Hello ,


I'm working on BF549 ,  after compile and link , I read the file(.map.xml) in the Debug fold,   I find many libdsp532.dlb  in L1_CODE memory, it takes so many space that My program code have to move to sdram.


I read the PDF (VisualDSP++5.0 C/C++ Compile and Library Manul for Blackfin Process)

it's said that

“Versions of the DSP run-time library that contain"532" in the file name have been built on run on ADSP-BF531  ADSP-BF532,ADSP-BF533,ADSP-BF536,ADSP-BF537, ADSP-BF538.or ADSP-BF539 processors”.



why there are so many libdsp532 in my L1_CODE memory while I am working on BF549?

should I do some changes of project option? 

  • 0
    •  Analog Employees 
    on Apr 19, 2011 7:23 PM


    BF549 and BF532 have the same core. Therefore, most or all the DSP run-time libraries, which are mainly computational routines can run on either without the need for recompilation.

    You can try to profile your application to see how much time is spent in these libraries vs. how much time is spent in your program code, then based on the findings, you may want to manipulate the LDF file in order to arrange things in memory to achieve better performance.



  • 0
    •  Analog Employees 
    on Apr 19, 2011 9:54 PM

    Also make sure that in your project options -> Link -> Elimination that "Eliminate unused objects" is checked so it doesn't link in any functions that aren't called.