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.

[参考译文] AM2432:数据中止处理程序示例

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1394905/am2432-data-abort-handler-example

器件型号:AM2432

工具与软件:

在 MCU SDK 中、数据中止、指令中止句柄是空循环、需要一个示例来至少读取异常触发地址。  

虽然在 ARM Web 中说明了该错误、 因为它需要在汇编语言中读取 CP15并将寄存器传递到 C 型号、但通过一个示例可以为客户提供很大帮助。

https://developer.arm.com/documentation/ddi0406/cb/System-Level-Architecture/System-Control-Registers-in-a-PMSA-implementation/PMSA-System-control-registers-descriptions--in-register-order/DFAR--Data-Fault-Address-Register--PMSA?lang=en