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.

[参考译文] AM2612:AM26X 上的非法存储器访问

Guru**** 2558250 points
Other Parts Discussed in Thread: AM2612

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1570759/am2612-illegal-memory-access-on-am26x

器件型号:AM2612


工具/软件:

尊敬的专家:

对于 AM2612、是否有方法可以在发生软件异常(例如访问非法存储器地址)时识别相应的非法存储器值?

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

    您好、

    这当然是可能的、完全取决于异常类型(预取中止,数据中止等)以及您想要对信息执行的操作。 有关数据中止地址的示例、我建议查看 SDK 中 以下位置的函数“HwiP_DATA_ABORT_HANDLER_c":“: c:\xxx\mcu_plus_sdk_am263freertos_10_01_00_31\source\kernel\freertos\dpL\R5\HwiP_armv7r_handlers_px.c 此示例展示了数据中止示例。

     

    有关异常处理的更多信息、我建议发布以下文章:  【常见问题解答】TMS570LC4357:Hercules 器件上的中止异常疑难解答