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.
Tool/software: Code Composer Studio
hi please give me a sample program to understand how to switch from FRAM to RAM
thanks
Hi,
You need to modify linker file (.cmd) in your project if you would like to Divide FRAM as RAM to use.
Some code maybe useful to you :
In cmd file : ( this example is to allocate 0.5K of FRAM as RAM, IC : MSP430FR2311. )
)
MEMORY :
RAM : origin = 0x2000, length = 0x400 RAM2 : origin = 0xF100, length = 0x200 FRAM : origin = 0xF300, length = 0xC80
SECTIONS :
.bss : {} > RAM | RAM2 /* Global & static vars */ .data : {} > RAM | RAM2 /* Global & static vars */
More details about how to modify, you can refer to this file :
http://www.ti.com/lit/ug/slau132u/slau132u.pdf
Best Regards
Johnson
**Attention** This is a public forum