can't OTA .bin file from SD card
Posted: Fri Nov 17, 2017 3:42 pm
Hi ESP-IDF,
Has someone tried do OTA through .bin file from SD card?
I've tried with my own partition table or as OTA Example shown factory partion + two OTA partition without luck...
Has someone tried do OTA through .bin file from SD card?
I've tried with my own partition table or as OTA Example shown factory partion + two OTA partition without luck...
Code: Select all
I (90) SD_CARD: Starting OTA example...
I (96) SD_CARD: Running partition type 0 subtype 0 (offset 0x00010000)
I (104) SD_CARD: Writing to partition subtype 16 at offset 0x110000
I (115) SD_CARD: esp_ota_begin succeeded
I (117) SD_CARD: Have written image length 1
I (118) SD_CARD: Have written image length 2
I (119) SD_CARD: Have written image length 3
I (124) SD_CARD: Have written image length 4
I (129) SD_CARD: Have written image length 5
... ...
I (732) SD_CARD: Have written image length 126
I (737) SD_CARD: Have written image length 127
I (742) SD_CARD: Connection closed, all packets received
I (747) SD_CARD: Total Write binary data length : 127
W (753) esp_image: image at 0x110000 has invalid SPI mode 202
E (759) esp_image: image at 0x110000 segment count 223 exceeds max 16
E (766) SD_CARD: esp_ota_end failed!
E (770) SD_CARD: Exiting task due to fatal error...