esp32 reboot loop with watchdog timer trigger
ESP32 DevKit V1, Arduino 2.2.1. My sketch boots, prints a few lines, then reboots every ~6 seconds. Serial monitor shows 'E (1234) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:' followed by 'IDLE0 (CPU 0)'. I'm using WiFi and a loop that does delay(1) with some sensor reads. I didn't explicitly start any watchdog. Why is the idle task not running? I've read it's usually caused by blocking the loop or an infinite loop, but my loop seems fine. Could WiFi be starving the idle task?
4 replies