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.

[参考译文] MSPM0L1117:如何避免在软件复位或从第二个引导加载程序跳转到应用代码时清除特定的 RAM 存储器地址?

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1599123/mspm0l1117-how-to-avoid-to-clean-specific-ram-memory-address-when-software-reset-or-jump-from-2nd-bootloader-to-app-code

器件型号: MSPM0L1117

您好、

我的客户在从第二个引导加载程序跳转到应用代码时会放弃将数据保留在特定的 RAM 地址。

我可以在 cmd 文件中调整以下内容吗?

  SRAM       (rwx):origin = 0x20000000、length = 0x00004000
=>从末尾保留 0x1000 以供客户使用。
  SRAM       (rwx):origin = 0x20000000、length = 0x00003000
 
BR、
Frank
 
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Frank、

    很抱歉晚才回复。

    客户可以通过以下方式实现此功能:

    首先分配一个类型为“NOINIT"的“的 SRAM 区域、然后在该 noinit 扇区中定义它们不希望清除的变量。