Hi,
I need to update firmware overlay.
This example (https://github.com/espressif/esp-idf/tr ... system/ota) works first time to update firmware
but for second time onward I need to fo make erase_flash flash. How can I do do this programmatically in C++/C after OTA is successful so it works every time.
Thanks,
Naeem
(over the air) firmware update second time onward.
Re: (over the air) firmware update second time onward.
I just did this based on the example in the SDK and it works fine repeatedly. Do you have two OTA partitions? I burn my code to the factory partition. Then every OTA update bounces back and forth between the two OTA partitions. The factory is unused after that.
I have a thread in the general discussion where I was having issues that were mainly because I didn't pay enough attention to the partition table defined in the example.
John
I have a thread in the general discussion where I was having issues that were mainly because I didn't pay enough attention to the partition table defined in the example.
John
Re: (over the air) firmware update second time onward.
Hi John,
Thanks, I will try out in few days.
Thanks,
Naeem
Thanks, I will try out in few days.
Thanks,
Naeem
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 134 guests