FreeRTOS error cause reset esp32 during working.

datluong
Posts: 10
Joined: Thu Jun 13, 2019 10:34 am

FreeRTOS error cause reset esp32 during working.

Postby datluong » Mon Jul 08, 2019 3:51 am

Hi all,
Currently, I am working on a esp32 project which used esp -idf version 3.1.2.
Recently, I facing a problem, that the esp32 suddenly very randomly cause reset by itself with the logging info like this:
  1. ets Jun  8 2016 00:22:57
  2.  
  3. rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  4. configsip: 0, SPIWP:0xee
  5. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  6. mode:DIO, clock div:2
  7. load:0x3fff0018,len:4
  8. load:0x3fff001c,len:3716
  9. load:0x40078000,len:8316
  10. load:0x40080000,len:5452
  11. 0x40080000: _WindowOverflow4 at /home/quocdat95/esp/esp-idf/components/freertos/xtensa_vectors.S:1685
  12.  
  13. entry 0x400802bc
  14. 0x400802bc: _DebugExceptionVector at ??:?
  15.  
  16. I (260) cpu_start: Pro cpu up.
  17. I (260) cpu_start: Starting app cpu, entry point is 0x40080f9c
  18. 0x40080f9c: uart_tx_wait_idle at /home/quocdat95/esp/esp-idf/components/esp32/system_api.c:170
  19.  
  20. I (0) cpu_start: App cpu up.
  21. I (263) heap_init: Initializing. RAM available for dynamic allocation:
  22. I (270) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
  23. I (276) heap_init: At 3FFC45B0 len 0001BA50 (110 KiB): DRAM
  24. I (282) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
  25. I (288) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  26. I (295) heap_init: At 40089A80 len 00016580 (89 KiB): IRAM
  27. I (301) cpu_start: Pro cpu start user code
  28. I (95) cpu_start: Starting scheduler on PRO CPU.
  29. I (0) cpu_start: Starting scheduler on APP CPU.
  30. I (119) SDMMC Driver: Attempting to initialize SD Card...
  31. I (119) SDMMC Driver: SDSPI Mode will be used.
  32. I (119) SDMMC Driver: Mounting...
  33. I (119) gpio: GPIO[5]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
  34. I (189) SDMMC Driver: SD Card mounted
  35.  
I dont know what happening? Maybe because I create way too much tasks using FreeRTOS?
How can I know that because I create too many task it gonna cause the reset?

Many thanks.

Who is online

Users browsing this forum: No registered users and 74 guests