Where can I find more information on possible memory issues when using the From Memory and To Memory blocks in the Embedded Target for TI C6000 (tm) DSP?

1 view (last 30 days)
I would like to find more information on possible memory issues when using the From Memory and To Memory blocks in the Embedded Target for TI C6000(tm) DSP.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
We have verified that documentation on potential memory issues when you use the From Memory and To Memory blocks is missing from the Embedded Target for TI C6000(tm) DSP product manual.
Here is some additional information on possible memory issues when you use the From Memory and To Memory blocks:
The From Memory and To Memory blocks might cause unexpected behavior because of the fact that they give you considerable flexibility to copy sections of target memory and write to sections of target memory.
If the linker command file is selected to be “Full_memory_map” for TI C6000 linker in Configuration Parameters, the linker places all global data and compiled code in the SDRAM, starting at address 0x80000000. With the To Memory and From Memory blocks, you may be reading and writing to memory locations reserved for compiler use. This might cause Code Composer Studio to crash.
To work around this issue, generate the code once without downloading the ".coff" file to the target and take a look at the "<project_name>.map" file to see the range of memory used by the compiler. This file provides a map of linker memory allocation. From this list, you can determine the memory ranges that you can use safely without overwriting the compiler sections.
In general, whenever you use the From Memory and To Memory blocks, examine the ".map" file each time you make changes to your Simulink model.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!