ESP8266 运行 alios things 自带 linkkitapp 示例 OTA 升级失败串口打印信息如下:
[ 8.980]<A>AOS OTA secure download start ...
ota_service_start
[ 8.990]<I>ota ota param crc:0x0380 cal:0xd1db
[ 8.990]<I>ota OTA running status :0x0002
[ 8.990]<I>ota ota param crc:0x0380 cal:0xd1db
[ 8.990]<I>ota ota init part:3 len:563840
[ 8.990]<E>ota ota init failed!
[ 8.990]<I>ota ota init ret = -1
[ 9.000]<E>ota ota_int fail:-1.
[ 9.000]<E>ota upgrade complete ret:-1.
[ 9.000]<I>ota ota init part:3 len:563840
[ 9.000]<E>ota ota init failed!
[ 9.040]<I>ota ota clear ret = 0
[ 9.040]<I>ota ota boot finish ret:-17 crc:0x0000
reboot!
通过代码追踪发下引起报错代码如下:
middleware/uagent/ota/hal/ota_hal_plat.c
OTA_WEAK in