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.

[参考译文] RM57L843:程序崩溃(UNDEF 进入)

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/967481/rm57l843-program-crashed-undef-entry

器件型号:RM57L843

您好!
-在调试/运行模式期间随机发生 undef/data/prefetch 条目异常。

观察结果:
在之前的代码版本中、所有内容都经过测试并按预期工作。 然后、当我在代码中声明任何变量或在代码中为变量赋值时、如下所示:

当我取消注释 stHandSwitch_G.uiTimer_g = 1时、代码始终以 UNDEF 异常结束  



目前我无法继续、请建议解决方案。

谢谢你

Vikas N.

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

     stHandSwitch_G.uiTimer_g 的用途是什么? 此结构与 RTI 中断 ISR 是否相关?