I have a PCB board that runs an ESP32-S3-WROOM-1 module. The board has its own chargeable battery system. I won't post the code I'm using because this issue occurs with any code I've tried, so I suppose it's not a software problem. To make things a little easier to understand, my code sends commands to a sensor. According to these commands, the sensor provides a response to the code, which reads the response and performs various actions with this data later.
The issue is that when I turn on my board and connect the USB, the program starts normally. I can see the debug response on the terminal (I'm using the Arduino IDE), and everything works properly. If I remove the USB, the code continues running (as it should; I have other means to verify that the code is working). However, when I connect the USB cable again, the ESP32-S3 resets, showing the same log it displays when I first start the program:
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x9 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a68
entry 0x403c98d4
I was looking for an answer and found a very similar problem at: viewtopic.php?t=32490
Is this an error in the architecture of the ESP32-S3 itself? Because I've been working with this code in my job for some time, and a couple of months ago, we had the old version of our PCB board that used a different ESP32, and this error didn't occur.
ESP32S3 rebooting when connecting the USB cable
-
- Posts: 4
- Joined: Mon May 20, 2024 2:18 am
Re: ESP32S3 rebooting when connecting the USB cable
Had the same problem. Turns out, my serial terminal was open! Closing the terminal resolved the problem. You can also test this by using a USB cable with only power lines.
Who is online
Users browsing this forum: No registered users and 70 guests