OTA update with different partition tables
Posted: Tue Dec 14, 2021 9:11 pm
Hi,
I'm trying to OTA update an ESP-WROVER module and I found that my previous version of the partition table has different values than the one I'm using now. How can I update this with OTA?
Here is the old partition table:
And this is the new one:
I'm trying to access the savdat partition with the function partition_pointer = esp_partition_find_first(type, subtype, "savdat"); but when OTA update I'm having LoadProhibited panic situation.
I can distinguish when that partition table was loaded before and after OTA but when trying to access it fails, doesn't matter if I use the old or new partition tables parameters (type, subtype).
Any idea?
Regards,
P
I'm trying to OTA update an ESP-WROVER module and I found that my previous version of the partition table has different values than the one I'm using now. How can I update this with OTA?
Here is the old partition table:
Code: Select all
nvs, data, nvs, , 320K,
savdat, data, nvs, , 1000K,
otadata, data, ota, , 8K,
phy_init, data, phy, , 4K,
factory, app, factory, , 1500K,
ota_0, app, ota_0, , 1500K,
ota_1, app, ota_1, , 1500K,
Code: Select all
nvs, data, nvs, , 320K,
savdat, 0x40, 0x00, , 1000K,
otadata, data, ota, , 8K,
phy_init, data, phy, , 4K,
factory, app, factory, , 1500K,
ota_0, app, ota_0, , 1500K,
ota_1, app, ota_1, , 1500K,
I can distinguish when that partition table was loaded before and after OTA but when trying to access it fails, doesn't matter if I use the old or new partition tables parameters (type, subtype).
Any idea?
Regards,
P