I'm new to ESP32 and ESP-IDF and I'm working on a project that has stuff like modbus, spiffs, wifi, mqtt, etc.
Somehow while running any of the task, Task watchdog is getting triggred. Like follows
Code: Select all
E (7773) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (7773) task_wdt: - IDLE (CPU 0)
E (7773) task_wdt: Tasks currently running:
E (7773) task_wdt: CPU 0: ipc0
E (7773) task_wdt: CPU 1: IDLE
E (7773) task_wdt: Print CPU 0 (current core) backtrace
Backtrace:0x400FCB0E:0x3FFB0B800x40082D59:0x3FFB0BA0 0x4000BFED:0x3FFAFA50 0x4008DDAA:0x3FFAFA60 0x40082293:0x3FFAFA80 0x40084E72:0x3FFAFAA0 0x4008327A:0x3FFAFAC0 0x4008DAF9:0x3FFAFAE0
E (7773) task_wdt: Print CPU 1 backtrace
Backtrace:0x40086271:0x3FFB11800x40082D59:0x3FFB11A0 0x4000BFED:0x3FFBEC40 0x4008DDAA:0x3FFBEC50 0x400FCDD3:0x3FFBEC70 0x400FCDDF:0x3FFBECA0 0x400D4725:0x3FFBECC0 0x4008BF45:0x3FFBECE0 0x4008DAF9:0x3FFBED00
Code: Select all
E (12853) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (12853) task_wdt: - IDLE (CPU 0)
E (12853) task_wdt: Tasks currently running:
E (12853) task_wdt: CPU 0: spiffs_task
E (12853) task_wdt: CPU 1: IDLE
E (12853) task_wdt: Print CPU 0 (current core) backtrace
Backtrace:0x400FCB0E:0x3FFB0B800x40082D59:0x3FFB0BA0 0x40084FA0:0x3FFD9F60 0x40086099:0x3FFD9F80 0x400860A5:0x3FFD9FA0 0x40088B49:0x3FFD9FC0 0x40085CF9:0x3FFD9FE0 0x400F8D41:0x3FFDA020 0x400EA6E9:0x3FFDA050 0x400EE20F:0x3FFDA080 0x400EBE3F:0x3FFDA0B0 0x400EC1D1:0x3FFDA0F0 0x400EC21B:0x3FFDA120 0x400EC4BE:0x3FFDA140 0x400EC99A:0x3FFDA180 0x400EB690:0x3FFDA1D0 0x400EA2F1:0x3FFDA210 0x400EA36E:0x3FFDA260 0x400D5319:0x3FFDA280 0x4017298C:0x3FFDA2A0 0x40172A35:0x3FFDA2D0 0x400DD7EE:0x3FFDA2F0 0x4008DAF9:0x3FFDA370
E (12853) task_wdt: Print CPU 1 backtrace
Backtrace:0x40086271:0x3FFB11800x40082D59:0x3FFB11A0 0x4000BFED:0x3FFBEC40 0x4008DDAA:0x3FFBEC50 0x400FCDD3:0x3FFBEC70 0x400FCDDF:0x3FFBECA0 0x400D4725:0x3FFBECC0 0x4008BF45:0x3FFBECE0 0x4008DAF9:0x3FFBED00
Code: Select all
SPIFFS CURRENT used_mem : 3835531 of TOTAL : 7703441
E (12813) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (12813) task_wdt: - IDLE (CPU 0)
E (12813) task_wdt: Tasks currently running:
E (12813) task_wdt: CPU 0: wifi
E (12813) task_wdt: CPU 1: IDLE
E (12813) task_wdt: Print CPU 0 (current core) backtrace
Backtrace:0x400FCB0E:0x3FFB0B800x40082D59:0x3FFB0BA0 0x4000BFED:0x3FFC6960 0x4008DDAA:0x3FFC6970 0x401404EB:0x3FFC6990 0x40140521:0x3FFC69B0 0x4013C7B4:0x3FFC69D0 0x4013C856:0x3FFC69F0 0x40136A0E:0x3FFC6A10 0x40136C99:0x3FFC6A30 0x40137815:0x3FFC6A90 0x40100E29:0x3FFC6B50 0x40169AC1:0x3FFC6B90 0x40169C4B:0x3FFC6BB0 0x40163FC6:0x3FFC6C60 0x40163FDC:0x3FFC6CA0 0x40156F55:0x3FFC6CC0 0x40157456:0x3FFC6D00 0x40158215:0x3FFC6D50 0x40158298:0x3FFC6DD0 0x40151F4C:0x3FFC6E20 0x40152437:0x3FFC6E70 0x4015694D:0x3FFC6EA0 0x4015696E:0x3FFC6EC0 0x40156494:0x3FFC6EE0 0x40156719:0x3FFC6F00 0x400938B5:0x3FFC6F20 0x4008DAF9:0x3FFC6F50
E (12813) task_wdt: Print CPU 1 backtrace
Backtrace:0x40086271:0x3FFB11800x40082D59:0x3FFB11A0 0x4000BFED:0x3FFBEC40 0x4008DDAA:0x3FFBEC50 0x400FCDD3:0x3FFBEC70 0x400FCDDF:0x3FFBECA0 0x400D4725:0x3FFBECC0 0x4008BF45:0x3FFBECE0 0x4008DAF9:0x3FFBED00
Note : Each of the task has minimum of (50/ portTICK_PERIOD_MS) delay.
Please Help. Thank you.