Page 1 of 1

OTA升级失败,升级文件已经下载完了,最后地址报错了,请问是我内存分配错误了吗

Posted: Wed May 31, 2023 2:07 am
by coukcoo
I(19200)simple ota example: HTTP EVENT ON DATA,len=304
I(19240)esp image: segment 0: paddr=00170020 vaddr=3c010020 size-05ef8h(24312)map
I(19240)esp image:segment 1: paddr=00175f20 vaddr=3fca8de9 size=00d40h(3392)
I(19250)esp image:segment 2: paddr-00176c68 vaddr=40380009 size-013b0h(5040)
E(19260)esp image: segment 3 load address 0x42000020, doesn't match data 0x00178020
0x42000020: esp_app_get_description at D:/espressif/esp-idf/components/esp_app_format/esp_app_desc.c:56
(19270) simple ota example: Firmware upgrade failed

Re: OTA升级失败,升级文件已经下载完了,最后地址报错了,请问是我内存分配错误了吗

Posted: Wed May 31, 2023 9:40 am
by yake827
你下载的固件有问题,你可以把OTA区域的固件通过esptool读出来(https://docs.espressif.com/projects/esp ... read-flash),和原始ota固件对比