ESP32-S3 watch dog timer reset (TG1WDT_SYS_RST ) on wifi connection
Posted: Sun Mar 26, 2023 12:36 am
Hi All,
I'm developing software for esp32-s3 where the goal is to fetch commands from a wss server (websocket with ssl) and then display an image on a small tft screen.
For this I use two libraries:
I was able to display the panda image using this example:
https://github.com/Bodmer/TFT_eSPI/blob ... sh_PNG.ino
I was able to fetch commands from the secured websocket server with this exapmle:
https://github.com/Links2004/arduinoWeb ... entSSL.ino
After this I tried to put the two examples together and display the image on command from the wss server but no matter what I do the esp crashes and restarts during the setup phase:
If the tft setup runs second then it crashes during tft.begin().
If the wifi connect runs second it crashes during WiFiMulti.addAP(ssid,password).
(Also tried with WiFi library, in those cases it crashes during WiFi.begin(ssid, password).
Can someone please help me how to interpret the above error message?
What can I do for debugging?
What can possibly cause this kind of behavior?
I am using an ESP32-S3-WROOM-1-N8R8 module, arduino framework together with platformio environment.
I'm developing software for esp32-s3 where the goal is to fetch commands from a wss server (websocket with ssl) and then display an image on a small tft screen.
For this I use two libraries:
- https://registry.platformio.org/librari ... WebSockets for the secure websocket client
- https://registry.platformio.org/librari ... r/TFT_eSPI for diyplaying stuff on the screen
I was able to display the panda image using this example:
https://github.com/Bodmer/TFT_eSPI/blob ... sh_PNG.ino
I was able to fetch commands from the secured websocket server with this exapmle:
https://github.com/Links2004/arduinoWeb ... entSSL.ino
After this I tried to put the two examples together and display the image on command from the wss server but no matter what I do the esp crashes and restarts during the setup phase:
Code: Select all
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40377a89
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a38
entry 0x403c98d4
If the wifi connect runs second it crashes during WiFiMulti.addAP(ssid,password).
(Also tried with WiFi library, in those cases it crashes during WiFi.begin(ssid, password).
Can someone please help me how to interpret the above error message?
What can I do for debugging?
What can possibly cause this kind of behavior?
I am using an ESP32-S3-WROOM-1-N8R8 module, arduino framework together with platformio environment.