Restore Boot Partition

ketan vadodariya
Posts: 21
Joined: Wed Jul 27, 2022 9:53 am

Restore Boot Partition

Postby ketan vadodariya » Mon Feb 27, 2023 7:39 am

Hi,

I have develop the "Factory Application" for testing the custom board and Ota Process. Now Factory Application has option perform the OTA task from configurable end-point option. Factory Application and Main Application is work fine, able perform the OTA task from the Factory Application.

Currently There is no GPIO option available for me to entered the Factory Application, So somehow I am able to erase the "otadata" partition data so, esp bootloader loading the Factory Application from the Factory Partition. This option is work fine, there is no issue so far to erase the partition and Jumping to the Factory Application, but Here I am trying to avoid the erase option.

Question.
How to set boot partition from ota_0 mode to Factory Application. I don't want to erase the "otadata" data because Factory Application should jump back to ota_0 for the running the application.



Partition.
//custom partition table
nvs data nvs 0x9000 0x4000
otadata data ota 0xd000 0x2000
phy_init data phy 0xf000 0x1000
factory app app 2M
ota_0 app ota_0 5M
storage data spiffs 850K

ketan vadodariya
Posts: 21
Joined: Wed Jul 27, 2022 9:53 am

Re: Restore Boot Partition

Postby ketan vadodariya » Thu Mar 02, 2023 5:05 am

Hi,

Anyone can help here ?

Who is online

Users browsing this forum: markkuk and 334 guests