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.

CC3220S-LAUNCHXL: How to use the shard RAM 0x20000000 to 0x20003FFF with bootloader? In IAR .icf file it define region SRAM = mem:[from 0x20004000 to 0x2003C000]; this is define data and code range, how to only define the data range ?

Part Number: CC3220S-LAUNCHXL
Other Parts Discussed in Thread: CC3220S

http://www.ti.com/lit/ug/swru464/swru464.pdf 

6.1.2 said as below: it said The developer can locate only the application data sections range 0x20000000 to 0x20003FFF, how to achieve this? change the .icf file? it only define the data and code together: define region SRAM = mem:[from 0x20004000 to 0x2003C000];how to define data and code separately?

MCU RAM address range 0x20000000 to 0x20003FFF: This area is shared between the application and the bootloader. The developer can locate only the application data sections, because the data sections are not part of the application image;

  • Hi user4774248 ,

    I am not experienced with IAR linker file, but you should create another memory region at range 0x20000000 - 0x20003FFF (see some IAR linker files in SDK - region SRAM_DATA_2 - e.g. \tools\iar_patch\iar\linker\TexasInstruments\cc3220s.icf). And this region is a good place to stack or other sections.

    Jan