Watchdog triggered in CPU1,
Posted: Fri Apr 07, 2023 5:16 am
I have been doing some test code in ESP32, I took an sample code, so I am not using RTOS, I know that main is invoked from a RTOS task underline in esp32-idf.
My main program is now running long at 30k ticks I get a Task watchdog trigger:
I tried adding vTaskDelay(100); on the heavy load loop but then I get this error:
So maybe RTOS is not correctly enabled? Any tips?
My main program is now running long at 30k ticks I get a Task watchdog trigger:
Code: Select all
E (30232) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (30232) task_wdt: - IDLE (CPU 0)
E (30232) task_wdt: Tasks currently running:
E (30232) task_wdt: CPU 0: main
E (30232) task_wdt: CPU 1: IDLE
E (30232) task_wdt: Print CPU 0 (current core) backtrace
Code: Select all
***ERROR*** A stack overflow in task main has been detected.