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

coukcoo
Posts: 2
Joined: Wed May 31, 2023 1:50 am

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

Postby coukcoo » Wed May 31, 2023 2:07 am

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
Attachments
8d4401de1e1e0d9d7ab1d43c25739bb.jpg
8d4401de1e1e0d9d7ab1d43c25739bb.jpg (294.44 KiB) Viewed 1667 times

yake827
Posts: 43
Joined: Mon Aug 09, 2021 7:51 am

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

Postby yake827 » Wed May 31, 2023 9:40 am

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

Who is online

Users browsing this forum: Baidu [Spider] and 59 guests