Page 1 of 1

OTA update with different partition tables

Posted: Tue Dec 14, 2021 9:11 pm
by Palonso
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:

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,
And this is the new one:

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'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

Re: OTA update with different partition tables

Posted: Thu Jan 25, 2024 3:47 pm
by meakash
Hello, did you find anything on this? I am stuck at a similar problem now. Please share a few pointers.