-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32 C3 Supermini only boots when USB is connected and Serial is used. #9545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@satbeginner - Thanks for reporting. Let me investigate it. |
It was fixed in 2.0.15 but not in 3.0.0-RC1... I'll submit the necessary PR. |
I confirm this bug on ESP32-S3. @SuGlider Can you provide this PR or commit that fix this issue in 2.0.15 ? Thanks ! |
Hi all, thanks for your work. Thanks again for your work ! Leo |
Hi all, today my Arduino IDE upgraded the board library to 3.0.0-rc2 so I could test it on a ESp32 C3: Success!! Many thanks, Leo |
Is this problem fixed? Becouse i have problem works with usbcable and when i try to power with powerbrick or from 5v supply (via pins), program not boot |
I'll reopen this issue and investigate it. |
Using 3.1.1 Same issue with ESP32 C3 Super Mini Removed all Serial lines and it will work off a stand alone power supply |
Ok Thanks, i saw that is you are using delay after inistilizig
serial.begin. module works but i think not stable.
…On Tue, Feb 11, 2025 at 6:41 AM John Connor ***@***.***> wrote:
Using 3.1.1 Same issue with ESP32 C3 Super Mini
Removed all Serial lines and it will work off a stand alone power supply
—
Reply to this email directly, view it on GitHub
<#9545 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BOVVF3NMFRYL7YG5GBDUTJ32PGEPBAVCNFSM6AAAAABWM33PJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBZHA2DEOJWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It seems that the fixes were not propagated to the Arduino Core 3.x |
Ok, thanks for the update.
wt., 11 lut 2025, 15:22 użytkownik Rodrigo Garcia ***@***.***>
napisał:
… It seems that the fixes were not propagated to the Arduino Core 3.x
I'll add all necessary PRs in order to fix 3.0.x, current 3.1.x and future
3.2.x
—
Reply to this email directly, view it on GitHub
<#9545 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BOVVF3O3BSLB64UKXRRZ3D32PIBSRAVCNFSM6AAAAABWM33PJ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJQHE3DSOBUGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@JohnConnorNPC @ojsheep - I have tested the C3 using the latest released Core 3.1.1 and it seems to work fine. My Settings:Board Selected: ESP32C3 Dev Module Steps used to test it:
The sketch that I used to test it:#define LED_PIN LED_BUILTIN
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_PIN, OUTPUT);
Serial.begin(115200);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_PIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_PIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
Serial.println("ESP32 is running");
} |
3.1.3 worked I just need at the start, as I am using a C3 supermini: So I went back to 3.1.1 and it works too now. |
Board
ESP32 C3 Supermini
Device Description
ESP32C3 Dev Module
Hardware Configuration
No pins connected, just the build-in LED is used.
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Windows-10
Flash frequency
80MHz
PSRAM enabled
yes
Upload speed
115200
Description
Hi all, I was used that when I use a Serial.begin(115200) in Setup() and I have USB CDC on Boot enabled I can see any Serial.print messages in the Serial Monitor of the IDE.
And yes, that works.
However, like since one week or so, when I flash the code that still works, but now the ESP32C3 no longer boots when the board is NOT connected to a usb port of my PC.
Even with the IDE not started it will not boot on pressing reset or at power on.
But, as soon as I start the IDE or open the serial port (COM12 in my case) eg. by using Putty on that serial port, at that moment YES, the board boots and will start to output the Serial.print messages.
I was used that a board would run anyway, even with no serial port connected.
If I flash with USB CDC on boot Disabled, it won't run either.
I can make it run only when I remove all Serial.xxxx statements from my code before flashing??
I have the feeling this started about a week ago, because I had code running that I flashed a week ago that was running fine when using an external 5V supply. (Yes, I checked the voltages)
I changed some small stuff in the code and flashed again this week, and now it won't boot anymore, only when connected to either the IDE or Putty using the proper COM-port, or commenting out ALL Serial.xxxx statements?
When I use Putty to see the output of the Serial.xxx statements the ESP32 stops working when I disconnect Putty...
Is this because the ESP32C3 always expects a serial-port active when declared as Serial.begin(115200)??
Is there a way of keeping the Serial.xxxx statements in there but setting the serial port to ignore when not there?
I am stumped, but it does reproduce 100%.
Un saludo,
Leo
Sketch
Debug Message
Other Steps to Reproduce
Flased without any Serial.xxxxx statements it will boot and run.
Also when flashed with the Serial- statements connected to PC, but with Putty active instead of the Arduino IDE, it will boot and run too.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: