看门狗触发但无法再正常启动

zhhe14
Posts: 3
Joined: Mon Nov 07, 2022 2:05 am

看门狗触发但无法再正常启动

Postby zhhe14 » Mon Nov 07, 2022 2:43 am

请问各位有没有碰到看门狗触发但无法再正常启动的现象?请各位大神帮忙看看 :?

使用芯片:ESP32
使用SDK:ESP-IDF V4.2
程序使用WiFi和BLE,蓝牙搜索附近广播包,判断广播包数据有变化则通过WiFi上传数据到服务器。

看log是core0的btController引起的看门狗触发,通过menuconfig配置蓝牙任务栈空间加大512B还是会复现看门狗触发但起不来,死机。

15个设备挂机5天,出现3个死机现象,死机的log如下:

Code: Select all

E (711955) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (711955) task_wdt:  - IDLE0 (CPU 0)
E (711955) task_wdt: Tasks currently running:
E (711955) task_wdt: CPU 0: btController
E (711955) task_wdt: CPU 1: IDLE1
E (711955) task_wdt: Print CPU 0 (current core) backtrace


Backtrace:0x400D2148:0x3FFBFAC0 0x40085A09:0x3FFBFAE0 0x4019486C:0x3FFE7A90 0x40194E31:0x3FFE7AB0 0x400930B1:0x3FFE7AE0 

E (711955) task_wdt: Print CPU 1 backtrace


Backtrace:0x40081697:0x3FFC00C0 0x40085A09:0x3FFC00E0 0x4000BFED:0x3FFBC400 0x40093311:0x3FFBC410 0x400D238C:0x3FFBC430 0x400D2397:0x3FFBC460 0x400D2435:0x3FFBC480 0x40091431:0x3FFBC4A0 0x400930B1:0x3FFBC4C0
打印了以上信息后,不再有log输出,直接死机。

以下是backtrace:
CORE0
root@H:/mnt/d/HXJ/Code/ESP32/for_crash_debug# xtensa-esp32-elf-addr2line -piaf -e build/ZB.elf 0x400D2148:0x3FFBFAC0 0x40085A09:0x3FFBFAE0 0x4019486C:0x3FFE7A90 0x40194E31:0x3FFE7AB0 0x400930B1:0x3FFE7AE0
0x400d2148: task_wdt_isr at /home/esp/esp-idf/components/esp_common/src/task_wdt.c:187
0x40085a09: _xt_lowint1 at /home/esp/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105
0x4019486c: btdm_controller_task at ??:?
0x40194e31: btdm_controller_disable at ??:?
0x400930b1: vPortTaskWrapper at /home/esp/esp-idf/components/freertos/xtensa/port.c:143

CORE1
root@H:/mnt/d/HXJ/Code/ESP32/for_crash_debug# xtensa-esp32-elf-addr2line -piaf -e build/ZB.elf 0x40081697:0x3FFC00C0 0x40085A09:0x3FFC00E0 0x4000BFED:0x3FFBC400 0x40093311:0x3FFBC410 0x400D238C:0x3FFBC430 0x400D2397:0x3FFBC460 0x400D2435:0x3FFBC480 0x40091431:0x3FFBC4A0 0x400930B1:0x3FFBC4C0
0x40081697: esp_crosscore_isr at /home/esp/esp-idf/components/esp32/crosscore_int.c:80
0x40085a09: _xt_lowint1 at /home/esp/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105
0x4000bfed: ?? ??:0
0x40093311: vPortExitCritical at /home/esp/esp-idf/components/freertos/xtensa/port.c:419
0x400d238c: esp_task_wdt_reset at /home/esp/esp-idf/components/esp_common/src/task_wdt.c:333
0x400d2397: idle_hook_cb at /home/esp/esp-idf/components/esp_common/src/task_wdt.c:88
0x400d2435: esp_vApplicationIdleHook at /home/esp/esp-idf/components/esp_common/src/freertos_hooks.c:51 (discriminator 1)
0x40091431: prvIdleTask at /home/esp/esp-idf/components/freertos/tasks.c:3386 (discriminator 1)
0x400930b1: vPortTaskWrapper at /home/esp/esp-idf/components/freertos/xtensa/port.c:143

Who is online

Users browsing this forum: Bing [Bot] and 97 guests