Postby pointernull » Thu Jan 04, 2024 10:23 am
I (146959) ota: Total Write binary data length: 1233552
I (146969) esp_image: segment 0: paddr=00210020 vaddr=3fff0030 size=010f8h ( 4344)
I (146979) esp_image: segment 1: paddr=00211120 vaddr=40078000 size=03600h ( 13824)
I (146989) esp_image: segment 2: paddr=00214728 vaddr=40080400 size=00d0ch ( 3340)
I (146989) esp_image: segment 0: paddr=00210020 vaddr=3fff0030 size=010f8h ( 4344)
I (146999) esp_image: segment 1: paddr=00211120 vaddr=40078000 size=03600h ( 13824)
I (147009) esp_image: segment 2: paddr=00214728 vaddr=40080400 size=00d0ch ( 3340)
I (147059) ota: Prepare to restart system!
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4344
load:0x40078000,len:13824
load:0x40080400,len:3340
entry 0x40080618
E (27) esp_image: Segment 0 0x3fff0030-0x3fff1128 invalid: overlaps bootloader data
E (27) boot: OTA app partition slot 1 is not bootable
日志如上,我看了看分区表,发现并没有大小的设置错误,两个ota分区都为2m,大于我的升级程序大小,分区表如下:
# Partition table for MicroPython with OTA support using 4MB flash
# Notes: the offset of the partition table itself is set in
# $IDF_PATH/components/partition_table/Kconfig.projbuild.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
ota_0, app, ota_0, 0x10000, 0x200000,
ota_1, app, ota_1, 0x210000, 0x200000,
vfs, data, fat, 0x410000, 0x3f0000,
希望得到各位的帮助,感激不尽