ESP32-CAM. TG1WDT_SYS_RESET.
Posted: Sun Aug 27, 2023 1:22 pm
Hello.
I have some troubles with modified CameraWebServer template. Not important in this moment, because I noticed that the original project has this problem too.
Module don't want to connect without some resets:
But whet it connects, connection and video stream is stable.
I checked with an oscilloscope that there are no significant voltage drops on 5V and 3.3V rails (when powered from USB). Also I checked this using 5V/3A main adapter.
I'm using Arduino 1.8.19, and the latest CameraWebServer template from Arduino Examples (I see that is a little different from that I uses half year ago).
Only changes I made is WiFi ssid and password, and camera model in define section:
The main settings are correct:
Board: AI Thinker ESP32-CAM
CPU Frequency: 240MHz (WiFi/BT)
Partition scheme: Huge APP (3MB No OTA/1MB SPIFFS)
There are 1...3 resets, with one "." in the end (dots are indicators of WiFi connection establishment).
Then there are ~3 dots, and WiFi connects properly and there are no more resets.
I tested it on several board. Also I have old projects (with old code flashed into it), which works without problems. These projects, when recompiled and flashed again, fails too. So it must be something in Arduino updates that I make since then.
Could You help me to find out the source of this resets?
I have some troubles with modified CameraWebServer template. Not important in this moment, because I noticed that the original project has this problem too.
Module don't want to connect without some resets:
Code: Select all
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:1
load:0x3fff0030,len:1344
load:0x40078000,len:3964
load:0x40080400,len:3600
entry 0x400805f0
.
I checked with an oscilloscope that there are no significant voltage drops on 5V and 3.3V rails (when powered from USB). Also I checked this using 5V/3A main adapter.
I'm using Arduino 1.8.19, and the latest CameraWebServer template from Arduino Examples (I see that is a little different from that I uses half year ago).
Only changes I made is WiFi ssid and password, and camera model in define section:
Code: Select all
#define CAMERA_MODEL_AI_THINKER
Board: AI Thinker ESP32-CAM
CPU Frequency: 240MHz (WiFi/BT)
Partition scheme: Huge APP (3MB No OTA/1MB SPIFFS)
There are 1...3 resets, with one "." in the end (dots are indicators of WiFi connection establishment).
Then there are ~3 dots, and WiFi connects properly and there are no more resets.
I tested it on several board. Also I have old projects (with old code flashed into it), which works without problems. These projects, when recompiled and flashed again, fails too. So it must be something in Arduino updates that I make since then.
Could You help me to find out the source of this resets?