FreeRTOS error cause reset esp32 during working.
Posted: 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:
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.
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:
- ets Jun 8 2016 00:22:57
- rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
- configsip: 0, SPIWP:0xee
- clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
- mode:DIO, clock div:2
- load:0x3fff0018,len:4
- load:0x3fff001c,len:3716
- load:0x40078000,len:8316
- load:0x40080000,len:5452
- 0x40080000: _WindowOverflow4 at /home/quocdat95/esp/esp-idf/components/freertos/xtensa_vectors.S:1685
- entry 0x400802bc
- 0x400802bc: _DebugExceptionVector at ??:?
- I (260) cpu_start: Pro cpu up.
- I (260) cpu_start: Starting app cpu, entry point is 0x40080f9c
- 0x40080f9c: uart_tx_wait_idle at /home/quocdat95/esp/esp-idf/components/esp32/system_api.c:170
- I (0) cpu_start: App cpu up.
- I (263) heap_init: Initializing. RAM available for dynamic allocation:
- I (270) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
- I (276) heap_init: At 3FFC45B0 len 0001BA50 (110 KiB): DRAM
- I (282) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
- I (288) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
- I (295) heap_init: At 40089A80 len 00016580 (89 KiB): IRAM
- I (301) cpu_start: Pro cpu start user code
- I (95) cpu_start: Starting scheduler on PRO CPU.
- I (0) cpu_start: Starting scheduler on APP CPU.
- I (119) SDMMC Driver: Attempting to initialize SD Card...
- I (119) SDMMC Driver: SDSPI Mode will be used.
- I (119) SDMMC Driver: Mounting...
- I (119) gpio: GPIO[5]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
- I (189) SDMMC Driver: SD Card mounted
How can I know that because I create too many task it gonna cause the reset?
Many thanks.