Page 1 of 1

esp32升级完成后重新启动报错 overlaps bootloader data

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