For the TMS320C6455, what functions or compiler settings do I use to put code in L1 memory (not cache, but as normal memory) so our program will run from that memory upon startup?
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.
For the TMS320C6455, what functions or compiler settings do I use to put code in L1 memory (not cache, but as normal memory) so our program will run from that memory upon startup?
Placing section of your application code in a specific memory is done using linker command files which are used during linking. I would recommend you to take a look at the following wiki to understand how a linker command file is created:
http://processors.wiki.ti.com/index.php/Linker_CMD_Files_for_CCS
The compiler documentation that describes the linker also has some examples.
Hope this helps
Regards,
Rahul
Hello,
Addtional warning for the bootloader:
Depending on boot mode, the L1P may be configured as full cache at reset, and this doesn't permit static code loading.
Not even sure that the embedded bootloader is able to load L1P code in non-L1P-cached modes (see TI).
In these cases, without CCS, think to manage your own second-level code loader (through IDMA only, as L1P is not in data domain), after configuring part or all L1P as program memory (of course).
Jakez
You might find this helpful:
http://processors.wiki.ti.com/index.php/Putting_code_in_L1PSRAM