1.在没有操作系统的情况下,程序跑飞,目前看是有可能数组越界,影响了数据或者函数。但比较难定位
是否有一些建议的方案,便于定位?
a.对于4379的看门狗是否有类似的例子,如何启用?想通过看门狗溢出来定位
b.4379是否有类似28系列MCU的非法指令中断?类似于interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP。
谢谢!
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.
1.在没有操作系统的情况下,程序跑飞,目前看是有可能数组越界,影响了数据或者函数。但比较难定位
是否有一些建议的方案,便于定位?
a.对于4379的看门狗是否有类似的例子,如何启用?想通过看门狗溢出来定位
b.4379是否有类似28系列MCU的非法指令中断?类似于interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP。
谢谢!
1. 用仿真器跟一下。程序跑飞的话,可以尝试加大堆栈大小。
2. 可以参考RTOS processor SDK里的例程pdk_am437x_1_0_x\packages\ti\starterware\examples\wdt。
https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-AM437X
3. 请到ARM公司网站搜索一下相关信息。
https://developer.arm.com/documentation/den0013/d/Exception-Handling