Hi everyone,
Now I have upgrade my code through OTA like the demo,and it works.it is amazing.It downloads the bin file from the server and then updates it
https://github.com/espressif/esp-idf/tr ... system/ota.
And I created a new HTTP server like this .But I am confused that how can I upgrade the code next time through the OTA.How to trigger the device to download code by using wifi just like the first time (OTA)?It is also not possible to restart after power off.
This is the official figure.
How to upgrade the code next time through the OTA?
Re: How to upgrade the code next time through the OTA?
maybe can use nvs to storage the upgrade flag, software detect the flag and parameters in nvs when powerup, if detect need upgrade firmware then excute ota program, otherwise, start nomal sequence.
Who is online
Users browsing this forum: Bing [Bot], ShreyAcharya and 85 guests