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.
工具/软件:Code Composer Studio
我正在尝试使用 MPU。 当我分配一个数组时、MPU 保护被触发并进入 b _dabort,
进入
stmfd R13!、{r0 - R12、LR};
然后进入
b _dabort,
就像环路,一样
该程序如以下两幅图所示:
,我有两个问题:
1.程序为什么会进入 b _dabort 而不是 LDR R12、在 stmfd R13之后是 esmsr3!、{r0 - R12、lr}?
触发 MPU 保护的正常软件流程是什么?
更多图片:
为数组分配值以触发 MPU 保护
R0-R13的值
HALCoGen 的3.config
4. CMD