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.

Trouble loading data memory into SRAM using GEL

Hi,

I'm trying to load some 800 Kbytes of raw data into my C6678 evaluation module using GEL_MemoryLoad.  I used the evmc6678l.gel file provided and added my load function.  Not being too sure about where to load this data I used the memory map address for core0 L2 SRAM which is set up as 1MB R|W|AS4 and all SRAM.

After running the GEL it gives an error of "trouble writing memory block" at some address which is exactly half  of the SRAM I used (512K).  Looking at the memory browser I can see that the first 512K was correctly loaded and the rest is marked as xxxx.

Would you please tell me what am I missing here?

I appreciate your responses.

  • MARYAM,

    Please refer to the device datasheet for the memory map summary of the device. The local L2 SRAM on this device is 512K as you can see from the screenshot below. I think this is an error in the GEL file that I will file a bug report for 

    Sorry about the confusion caused due to these settinngs. If you need a contiguous onchip memory to load your data you can used the 4Mbytes of MSMC (L3 SRAM)  that is available on the chip at location 0x0c000000.

    Regards,

    Rahul