Watchdog issue on esp32-c3-devkitm-1
Posted: Tue Jul 26, 2022 3:31 am
Framework: Arduino;
IDE: Visual Studio;
Addon: PlatformIO;
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
lib_deps =
knolleary/PubSubClient@^2.8
h2zero/NimBLE-Arduino@^1.3.8
marian-craciunescu/ESP32Ping@^1.7
plerup/EspSoftwareSerial@^6.16.1
vshymanskyy/TinyGSM@^0.11.5
I'm facing an issue on my program. It hapens ramdomly. There is no pattern, or I didn't realise the pattern. It's working ok and suddenly the issue appears. You can see the issue description bellow:
DIAG0 1000e1a0
DIAG1 120b0000
BB DIAG0: 000a5384
BB DIAG1: ba002e02
BB DIAG2: 00000000
BB DIAG3: 8e89bed6
BB DIAG4: 00000000
BB DIAG5: 00000000
assert rwble.c 261, param 00020000 00000000
----------------------------------------------------------------
E (1145352) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (1145352) task_wdt: - IDLE (CPU 0)
E (1145352) task_wdt: Tasks currently running:
E (1145352) task_wdt: CPU 0: wifi
The portion bellow the line keeps repeating through the time. And to be even worse, the processor doesn't reset, just keeps stuck on this loop. I would also need know how to make the processor at least restart when halt.
I double checked all the "while" and "for" loops and distributed yield() or vTaskDelay(1) on them. The issue still there.
IDE: Visual Studio;
Addon: PlatformIO;
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
lib_deps =
knolleary/PubSubClient@^2.8
h2zero/NimBLE-Arduino@^1.3.8
marian-craciunescu/ESP32Ping@^1.7
plerup/EspSoftwareSerial@^6.16.1
vshymanskyy/TinyGSM@^0.11.5
I'm facing an issue on my program. It hapens ramdomly. There is no pattern, or I didn't realise the pattern. It's working ok and suddenly the issue appears. You can see the issue description bellow:
DIAG0 1000e1a0
DIAG1 120b0000
BB DIAG0: 000a5384
BB DIAG1: ba002e02
BB DIAG2: 00000000
BB DIAG3: 8e89bed6
BB DIAG4: 00000000
BB DIAG5: 00000000
assert rwble.c 261, param 00020000 00000000
----------------------------------------------------------------
E (1145352) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (1145352) task_wdt: - IDLE (CPU 0)
E (1145352) task_wdt: Tasks currently running:
E (1145352) task_wdt: CPU 0: wifi
The portion bellow the line keeps repeating through the time. And to be even worse, the processor doesn't reset, just keeps stuck on this loop. I would also need know how to make the processor at least restart when halt.
I double checked all the "while" and "for" loops and distributed yield() or vTaskDelay(1) on them. The issue still there.