Hi,
I used:
https://github.com/espressif/arduino-es ... e/examples
for http firmware udate.
"OTA done!"
"Update successfully completed. Rebooting."
after ESP.restart() line, ESP rebooting Ok with the new firmware.
But after power off/on the old firmware is executed
Where I am wrong ?
Thanks.
New firmware is ok , but old firmware is booting after power off/on.
Re: New firmware is ok , but old firmware is booting after power off/on.
Not answering from the Arduino perspective but it seems that you did not invoke after booting from the new image.
See https://github.com/espressif/esp-idf/bl ... ple.c#L308
Code: Select all
esp_ota_mark_app_valid_cancel_rollback();
See https://github.com/espressif/esp-idf/bl ... ple.c#L308
Who is online
Users browsing this forum: No registered users and 106 guests