如题,应用程序如果没有通过boot下载,测试没有发行会跑飞的问题,如果通过boot程序串口升级,将应用程序写入到flash,然后再跳转执行应用程序,程序运行一段时间,就出现跑飞现象,PC指针指向了FLASH 地址之外,如下图,PC指向0x5FEF8,GIE被清零,应该是在中断处理中出现了跑飞。现在通过IAR只能调试boot程序,所以不确定应用程序在什么地方跑飞,有谁知道如何解决吗,或者更好的调试方法。谢谢。
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.