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 Map

Dear all,

We are working on C6654 platform. We create a memory map for C6654 platform , but the last 128 KB are  not currently used (we planned to use them as cache).

In cfg file we have define the cache module.

When the program runs we notice that this unused region (128 kb) is accessed .  The most often value that we see is the oxBEBEBE , that is  the value for stack initialization. 

When we changed the memory map an we used all the L2 memory , the values that are keep in the latest 128 KB are not changed.

The half higher address is used for the code and  it is logical to not change when the program is executed.

Why does the content of the latest 128  KB of address are changed when we have not configured all the L2 RAM.    Probably there is not memory leak because this phenomenon disappeared when we use all the L2 memory. Is any  MPU to avoid access  this region of memory?

 Best regards

George