Page 1 of 1

Task watchdog got triggered

Posted: Fri Feb 14, 2020 8:16 am
by Dong Fang
I have NOT modified any code in Project esp/32/idf/v4.0-rc/examples/bluetooth/bluedroid/ble/blufi
but : Task watchdog got triggered

# idf.py flash monitor
...
E (5733) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (5733) task_wdt: - IDLE0 (CPU 0)
E (5733) task_wdt: Tasks currently running:
E (5733) task_wdt: CPU 0: btController
E (5733) task_wdt: CPU 1: IDLE1
E (10733) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (10733) task_wdt: - IDLE0 (CPU 0)
E (10733) task_wdt: Tasks currently running:
E (10733) task_wdt: CPU 0: btController
E (10733) task_wdt: CPU 1: IDLE1

why?

Re: Task watchdog got triggered

Posted: Fri Sep 11, 2020 9:34 am
by Mohit@life9sys.com
In case we have defined a infinite loop in our code, can the reset of watchdog timer happen from within this infinite loop?

Re: Task watchdog got triggered

Posted: Sun Sep 13, 2020 8:53 am
by ESP_Sprite
If there are no statements in the loop that block (e.g. waiting for a queue or semaphore), then yes.