This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DDR2, EMIFACSx memory usage on the OMAP-L138 EVM Board

Other Parts Discussed in Thread: OMAP-L138

Hello,

I am developing an app for the C6748 SOC on the OMAP-L138 EVM Board and am having a difficult time finding documentation on how to work with the on-board DDR2 and EMIFACSx memory blocks.

My app runs fine out of L2 (SHDSPL2ROM in C6748.cmd) cache memory, but I need much more ram for larger arrays and cannot seem to get those memory blocks to work.  My app hangs if I try to execute out of those two memory blocks.  I was hoping the linker would simply bring in the necessary libraries or code to make them work, but it doesn't appear to be doing so.

Thanks

  • Hi Mark,

    If you are working in the CCS environment, the GEL file in your target configuration will initialize your on-board DDR memory. Once the initialization is done, you need to modify your linker command file to specify what sections of the DDR memory you want to locate your code and data.

    I recommend that you look at the low level drivers provided in starterware to look at how some of the sample code does this in the linker command files. The linker cannot auto place the arrays and link libraries to provide this functionality unless the user provides the necessary information of the memory map .

    Thanks and Regards,

    Rahul

  • " provided in starterware".  Just what I needed.  Thanks.