OTA update with different partition tables

Palonso
Posts: 95
Joined: Tue Sep 24, 2019 8:43 pm

OTA update with different partition tables

Postby Palonso » 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:

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

meakash
Posts: 6
Joined: Sat Dec 17, 2022 6:32 am

Re: OTA update with different partition tables

Postby meakash » Thu Jan 25, 2024 3:47 pm

Hello, did you find anything on this? I am stuck at a similar problem now. Please share a few pointers.

Who is online

Users browsing this forum: Bing [Bot] and 98 guests