Other Parts Discussed in Thread: C2000WARE
Hi Team,
Is this usage correct?
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4|FLASH_BANK0_SEC0, PAGE = 0
Thanks & Regards
Yale Li
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.
Hi Team,
Is this usage correct?
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4|FLASH_BANK0_SEC0, PAGE = 0
Thanks & Regards
Yale Li
Hi Yale,
When some content is mapped to flash and some to RAM, CCS or any 3rd party tool does not guarantee loading the RAM content.
Flash plugin is developed for fully embedded flash applications. Meaning, all of the initialized sections in linker cmd should be mapped to flash. If anything needs to be executed from RAM, that content should be copied to RAM at runtime using memcpy() before executing that content. Please see below FAQ for more info on this.
[FAQ] Flash - How to modify an application from RAM configuration to Flash configuration?: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/878674
Thanks and regards,
Vamsi
Hi Vamsi,
Thanks for your reply. This further help me to understand.
.text : >> RAMLS0 | RAMLS1 | RAMLS2 | RAMLS3 | RAMLS4|FLASH_BANK0_SEC0, PAGE = 0
The reason that our customer's usage like this is because he found below comment in 28004x_generic_ram_lnk.cmd at C:\ti\c2000\C2000Ware_4_01_00_00\device_support\f28004x\common\cmd:
What this comment exactly meaning?
Thanks & Regards
Yale Li
Hi Yale,
They meant to say: All the uninitialized sections cam be mapped to RAM. And all initialized sections can go to flash.
I will ask them to make it clear. Thank you.
Regards,
Vamsi