OTA firmware update error
Posted: Tue Jul 18, 2023 12:21 am
Hi,
I am implementing the example "advanced_https_ota_example" https://github.com/espressif/esp-idf/bl ... _example.c with some particular changes.
After ota app update at new partition( 0x1010000 ), appear this error message, and ESP32-S3 boot from old partition ( 0x20000 ).
What can be the poblem ?
partitions_ota.csv file in annex.
Notes:
esp-idf v5.1
Chip: ESP32-S3R8V
Chip revision: v0.1
ESP-ROM:esp32s3-20210327 Build:Mar 27 2021
Dev board: ESP32-S3-DevKitC-1-N32R8V
Module: ESP32-S3-WROOM-2-N32R8V
I am implementing the example "advanced_https_ota_example" https://github.com/espressif/esp-idf/bl ... _example.c with some particular changes.
After ota app update at new partition( 0x1010000 ), appear this error message, and ESP32-S3 boot from old partition ( 0x20000 ).
Code: Select all
I (83) boot: Partition Table:
I (87) boot: ## Label Usage Type ST Offset Length
I (94) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (102) boot: 1 otadata OTA data 01 00 0000f000 00002000
I (109) boot: 2 ota_0 OTA app 00 10 00020000 00fe7000
I (117) boot: 3 ota_1 OTA app 00 11 01010000 00fe7000
I (124) boot: End of partition table
E (129) esp_image: image at 0x1010000 has invalid magic byte (nothing flashed here?)
E (137) boot: OTA app partition slot 1 is not bootable
I (143) esp_image: segment 0: paddr=00020020 vaddr=3c0c0020 size=8711ch (553244) map
I (239) esp_image: segment 1: paddr=000a7144 vaddr=3fc9ca00 size=053bch ( 21436) load
I (243) esp_image: segment 2: paddr=000ac508 vaddr=40378000 size=03b10h ( 15120) load
I (248) esp_image: segment 3: paddr=000b0020 vaddr=42000020 size=b73f8h (750584) map
I (372) esp_image: segment 4: paddr=00167420 vaddr=4037bb10 size=10e74h ( 69236) load
I (393) boot: Loaded app from partition at offset 0x20000
partitions_ota.csv file in annex.
Notes:
esp-idf v5.1
Chip: ESP32-S3R8V
Chip revision: v0.1
ESP-ROM:esp32s3-20210327 Build:Mar 27 2021
Dev board: ESP32-S3-DevKitC-1-N32R8V
Module: ESP32-S3-WROOM-2-N32R8V