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.

memory in c6678?

In an example of ccs5.0,

I find:

MEMORY

{

L2SRAM:org =0x800000,len = 0x100000

}

so we can see the L2 is from 0x800000 to 0x8FFFFF,

but in the datasheets of C6678,in the memory map the Local L2 is from 0x800000 to 0x87FFFF.

why they are different?

when I debug this program ,I can see the data in 0x890000 is changing ,but 0x10890000 is never change(when I debug in core 0).

I want to know where the adresss 0x890000 is located? 

  • Jie,


    The example that you are referring to is likely a generic 66x example.  The C6670 device has a full MB of L2SRAM, while the 6678 only has 1/2 MB.  So, I suspect that the linker command file you are referring to was created for the 6670.

    The memory between 0x880000 and 0x8FFFFF is marked as reserved in the 6678.  The device may use this memory internally.  So, while you might be able to write to it and the value changes, there is no guarantee that the data will persist if you use it as regular memory.  Don't use these locations in your application.

    Regards,
    Dan