simple_ota_example
Posted: Thu Feb 14, 2019 12:27 pm
I am trying my hands at "simple_ota_example" (with my ssid and pw). I uploaded simple_ota.bin file on my server.
But I am getting this error:
Here is partition table as I see it in mingw32:
But I am getting this error:
Erasing the flash didn't solve the problem.esp_ota_ops: OTA image has invalid magic byte (expected 0xE9, saw 0x3c
Here is partition table as I see it in mingw32:
I (37) boot: SPI Speed : 40MHz
I (41) boot: SPI Mode : DIO
I (45) boot: SPI Flash Size : 4MB
I (49) boot: Partition Table:
I (52) boot: ## Label Usage Type ST Offset Length
I (60) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (67) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (75) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 3 factory factory app 00 00 00010000 00100000
I (90) boot: 4 ota_0 OTA app 00 10 00110000 00100000
I (97) boot: 5 ota_1 OTA app 00 11 00210000 00100000
I (105) boot: End of partition table
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 16K,
otadata, data, ota, 0xd000, 8K,
phy_init, data, phy, 0xf000, 4K,
factory, app, factory, 0x10000, 1M,
ota_0, app, ota_0, 0x110000, 1M,
ota_1, app, ota_1, 0x210000, 1M,