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.
如题
2530的应用一般要求有电池供电的,不会那么刚好没电吧,另外升级的一般是应用程序,OAT程序本身不变,如果升级一般应用突然断电,重新启动OAT升级就行了。
不过最好还是保证供电稳定情况下OAT 升级。供电电路做好,你看手机升级,电量不足的时候是不许你升级的,你也可以这样设计做。
如果刚好把起始位置为0x0800这一页flash erase,但是没有把新的CRC download下来时刚好设备没电,这时crc[0]和crc[1]都是0xffff,当从新上电时只会执行if (OTA_crcControl.crc[0] == OTA_crcControl.crc[1]) { break; }到这里,不就是会出问题吗?不知道我是否理解有误,请指教。