-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
I got here an ESP32 performing some sensor tasks, which was left alone, working for two or three days. Some minutes ago, I tried to refresh the webpage that the ESP32 serves and it wasn't working anymore.
I did open the COM in order to read the Serial output, just in case, and I got:
Task watchdog got triggered. The following tasks did not reset the watchdog in time:
- IDLE (CPU 0)
Tasks currently running:
CPU 0: wifi
CPU 1: loopTask
being periodically sent at about 5 seconds interval.
The Arduino code is running inside the ESP32, since I got a gas sensor and whenever I trigger it, the Arduino code enables a Relay which I can hear / see turning on ... but the ESP32 has lost wifi connection and it is not returning (Although my code watches for WiFi.status() and if disconnected tries to reconnect).
This may probably be a bug, even at IDF level. I am sorry I do not know what made it trigger, nor have a way of posting any more data.
I got the latest Arduino framework in use.
I can implement whatever mechanism you may propose in order to catch it better the next time this happens, If it does.
Regards,
Enrique.