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.

如何在MSP430编程中将变量的初始化值 放在特定的存储区地址单元

Other Parts Discussed in Thread: MSP430F5438A

Hi,

msp430f5438a,CCS7.4 环境,

参考

代码中添加如下:

//#pragma DATA_SECTION(temp, ".infoD")

int temp = 20;

编译成功后,在生成的TI-TXT中,没有看到类似@1800的字段。

程序下载到mcu中,读取0x1800地址的值,也显示为FF。

请问,还需要如何修改??