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.

在线等:Flash 编程如何恢复?



现在想做一个通过CAN 对#28335  或 #28377D 进行在线编程的程序,我看例程里面的做法就是将 Example_CallFlashAPI() 放在main() 函数末尾,且运行在RAM 中,这样就是实现了对Flash 的擦除、编程及其验证操作;

这个方法我试过是可以的,就是将我想要编程的out 文件转换为hex 文件,然后通过上位机调用:Example_CallFlashAPI() 实现烧写到Flash 中,然后下电重启,  就可以运行新的程序;

这是正常的情况,假设应用程序没有什么问题, 或是下载过程没有中断, 都可以反复下载、反复运行;

但一旦出现下载被打断,或是程序本身Crash 了,这个时候只能通过再次挂 Jtag 下载一个好的程序,请问经历过此问题的大侠们, 有没有其他办法实现程序恢复呢?

在此先拜谢了!!