ESP32S3 Multithreaded OTA Example
Posted: Mon Jun 10, 2024 7:36 am
I working on a circuit which will be in a confined environment so after it is assembled I will rely on OTA to do all the firmware updates.
Is there more up to date version of doing OTA for the new boards like the ESP32S3 than this old tutorial:
https://lastminuteengineers.com/esp32-o ... duino-ide/
As he explains:
My code has delays in it so due to this OTA rarely ever works.
Can be the OTA process put into a single task which is called with xTaskcreate?
So it is never blocked.
Is there more up to date version of doing OTA for the new boards like the ESP32S3 than this old tutorial:
https://lastminuteengineers.com/esp32-o ... duino-ide/
As he explains:
Code: Select all
This is because the delay() function pauses the program. If the next OTA request is generated while the ESP32 is paused waiting for the delay() to complete, your program will miss that request.
Can be the OTA process put into a single task which is called with xTaskcreate?
So it is never blocked.