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.

代码调试

Other Parts Discussed in Thread: SYSBIOS

在将mcspi 擦写Flash 代码集成到工程中后,单步调试代码,关闭看门狗,但是代码经常会跑到未知位置,如Exception中 ,

ti_sysbios_family_arm_exc_Exception_excHandlerDataAsm__I:
        stmfd   sp!, {r0-r12}   @ save r4-r12 while we're at it
        mrc     p15, #0, r12, c5, c0, #0 @ read DFSR into r12
        stmfd   sp!, {r12}      @ save DFSR
        mrc     p15, #0, r12, c5, c0, #1 @ read IFSR into r12
        stmfd   sp!, {r12}      @ save DFSR
        mrc     p15, #0, r12, c6, c0, #0 @ read DFAR into r12
        stmfd   sp!, {r12}      @ save DFAR
        mrc     p15, #0, r12, c6, c0, #2 @ read IFAR into r12
        stmfd   sp!, {r12}      @ save IFAR
请问该问题是因为发生了中断还是因为什么,单步跟踪代码将其它Task注释掉么?