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.

[参考译文] CC2541:JumpToImageAorB 未初始化

Guru**** 2577385 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/565833/cc2541-jumptoimageaorb-is-not-initilalized

器件型号:CC2541

您好!

我正在使用 simpleBLEPeripheral OAD ImageA 项目。 我需要传输到 BIM 变量 JumpToImageAorB。 因此、我将其设置为某个值、但编译器 IAR9.20会忽略该值:

变量定义为__no_init __data uint8 JumpToImageAorB @ 0x09;

来自 ImageB 项目的相同初始化工作正常。 出什么问题了?

谢谢、

Alex。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    如果我删除了调用 HAL_SYSTEM_RESET(),则代码运行正常。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Alex、您好!
    如果将 JumpToImageAorB 变量声明为易失性、会发生什么情况?