I am using ESP IDF 3.3v. I am trying to implement OTA update.
I ran an openssl server locally and I was able to do OTA update smoothly. Then I tried deploying the same application firmware in onedrive, google drive and even in dropbox where I am getting some error as show below.
Code: Select all
I (641674) esp_https_ota: Starting OTA...
I (641674) esp_https_ota: Writing to partition subtype 16 at offset 0x170000
I (644734) esp_https_ota: esp_ota_begin succeeded
I (644744) esp_https_ota: Please Wait. This may take time
E (644744) esp_ota_ops: OTA image has invalid magic byte (expected 0xE9, saw 0x3c
E (644754) esp_https_ota: Error: esp_ota_write failed! err=0x0
E (644754) OTA_UPDATE :::: Firmware Upgrades Failed
Code: Select all
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,200K,
otadata,data,ota,0x3b000,8K,
phy_init,data,phy,0x3d000,4K,
factory,app,factory,0x40000,1200K,
ota_0,app,ota_0,0x170000,1200K,
ota_1,app,ota_1,0x2a0000,1200K,
*******************************************************************************
Code: Select all
Total sizes:
DRAM .data size: 12976 bytes
DRAM .bss size: 68976 bytes
Used static DRAM: 81952 bytes ( 42628 available, 65.8% used)
Used static IRAM: 77172 bytes ( 53900 available, 58.9% used)
Flash code: 658886 bytes
Flash rodata: 153652 bytes
Total image size:~ 902686 bytes (.bin may be padded larger)
Thanks in advance