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.

[参考译文] MSPM0G3507:复位时、如何在 MSPM0G3507的 SRAM 中保留变量#39;s 先前的值?

Guru**** 2391195 points
Other Parts Discussed in Thread: MSPM0G3507

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1478151/mspm0g3507-how-can-i-retain-the-variable-s-previous-value-in-the-sram-of-the-mspm0g3507-when-reset

器件型号:MSPM0G3507

工具与软件:

您好、 专家! 祝您度过美好的一天!
当我使用链接器在 MSP430FR 上的 RAM 中分配变量时、即变量 保留 重新设置其值 仍然供电、所以可能无法正常启动。

我在 MSPM0G3507上应用了相同的方法、但是  复位后、该变量被重新初始化为0 .  我尝试过很多方法、但变量会重新初始化为0。  

我怎么会这样呢  保留   上一个值  MSPM0G3507的 SRAM 中的所有 错误消息?