Mapping program and data to SDRAM on TS201 Ezkit


I'm a newbie with TS201 and I'm trying to map the program code and data to the SDRAM on Ts201 EZ-KIT. In tehe default LDF, nothing is mapped to the SDRAM sections, so i thought some INPUT_SECTIONS commands might be needed to add in SECTIONS{}.

First,from“VDSP 5.0 Linker and Ulitities Manual”, it seems that i should pay attention to the input section named of program (for code) and data1 (for data). However, the functions can not be achieved by adding the following instrucitons to the default LDF.




} > MSSD0




} > MSSD0

Secondly, the other sections,like ctor、data2,are already defined in the default .ldf file. I'm not sure whether it's needed to mapping such sections to SDRAM.

Thirdly, in my program heaps are used and the memory areas of M4DataB is resevered for heaps by default. Since the default allocated heaps are limited, I also want to allocate some SDRAM memory to the heap. I have attempted to set up the memory heap at runtime using heap_install and modifying the LDF as following:






_ldf_my_own_heap_base = .;

_ldf_my_own_heap_size = MEMORY_SIZEOF();




If i have mapped the code and data to SDRAM, are the above instrucitons still necessary to set up heaps in SDRAM? Can the memory be allocated using calloc automatically rather than heap_calloc? 

Here is my project files,could you give me some help to force it to run on SDRAM?


  • 0
    •  Analog Employees 
    on Aug 2, 2018 4:40 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin