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.
有一些数据想存在FRAM中,从哪个位置开始写,才不会影响到程序啊?
你好:
如果你用的是CCS可以在CMD文件中自定义一个存储区域如图
.text 就是定义的代码段。
可以参考这个帖子,不行的话再问我。
https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/616911?tisearch=e2e-sitesearch&keymatch=MSP430%20CMD%20FRAM
也可以参考这个资料
http://www.deyisupport.com/question_answer/microcontrollers/msp430/f/55/t/74926.aspx
最保险的方法是看一下map文件,避开用过的区域。
感谢关注!我使用的是IAR6.50.2。
目的是想存储测量过程中的数据,数据量在4K到200K之间,断电不会丢失;
目前是直接存储到0x020000位置依次向后,这是根据编译后有40K左右DATA,然后留出了一定余量设置的,不知道这样可靠吗;
设置输出map文件时直接编译不通过;