Task watchdog got triggered

Dong Fang
Posts: 4
Joined: Thu Feb 21, 2019 10:13 am

Task watchdog got triggered

Postby Dong Fang » Fri Feb 14, 2020 8:16 am

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?

Mohit@life9sys.com
Posts: 2
Joined: Fri Sep 11, 2020 9:29 am

Re: Task watchdog got triggered

Postby Mohit@life9sys.com » Fri Sep 11, 2020 9:34 am

In case we have defined a infinite loop in our code, can the reset of watchdog timer happen from within this infinite loop?

ESP_Sprite
Posts: 3914
Joined: Thu Nov 26, 2015 4:08 am

Re: Task watchdog got triggered

Postby ESP_Sprite » Sun Sep 13, 2020 8:53 am

If there are no statements in the loop that block (e.g. waiting for a queue or semaphore), then yes.

Who is online

Users browsing this forum: No registered users and 1 guest