Platform
ESP32
IDE / Tooling
PlatformIO
What happened?
My project is an PLC (Programmable logi controler). So the cpu is occuped full time to the PLC part. On my code it's only only the main thread. My code discard web socket message to an internal queue and there is another queue to send responses. My code has a lot of vtaskDelay(1) because some time there is a lot of time before the main loop. Even with all vtaskDelaym the watchdog kill the system after 370 seconds approx.
The developpement plateform is PlateformIO with the Arduino framework. The version of ESPAsyncWebServer is 3..6.0 and the version of /AsyncTCP is 3.3.2. What can I do to prevent watch dog ? Best regards
Stack Trace
379405:: Refresh: vTaskDelay
379406:: Refresh: vTaskDelay
379407:: Refresh: vTaskDelay
ets Jul 29 2019 12:21:46
rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffbfddef
invalid header: 0xdfdffdff
invalid header: 0xffffffff
Minimal Reproductible Example (MRE)
run the code at https://github.com/Borne-Universelle/PLC/tree/PlateformIO branck PlateformIO
I confirm that:
Platform
ESP32
IDE / Tooling
PlatformIO
What happened?
My project is an PLC (Programmable logi controler). So the cpu is occuped full time to the PLC part. On my code it's only only the main thread. My code discard web socket message to an internal queue and there is another queue to send responses. My code has a lot of vtaskDelay(1) because some time there is a lot of time before the main loop. Even with all vtaskDelaym the watchdog kill the system after 370 seconds approx.
The developpement plateform is PlateformIO with the Arduino framework. The version of ESPAsyncWebServer is 3..6.0 and the version of /AsyncTCP is 3.3.2. What can I do to prevent watch dog ? Best regards
Stack Trace
379405:: Refresh: vTaskDelay
379406:: Refresh: vTaskDelay
379407:: Refresh: vTaskDelay
ets Jul 29 2019 12:21:46
rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
invalid header: 0xffbfddef
invalid header: 0xdfdffdff
invalid header: 0xffffffff
Minimal Reproductible Example (MRE)
run the code at https://github.com/Borne-Universelle/PLC/tree/PlateformIO branck PlateformIO
I confirm that: