Page 1 of 1

ESP 32 C3 Supermini only works in monitor mode

Posted: Tue Jan 16, 2024 9:40 am
by TyconDavare
I have an ESP32 C3 SuperMini dev board.

I can code all my programs fine in Arduino / PlatformIO and I can debug using the serial monitor.
But when I power up the board with normal USB power it doesnt ececute the code.
If I monitor the board in Arduino / PlatformIO (without flashing again) it all works fine.

I dont have the same problem with ESP32 or 8266 boards.

Do I miss a booting option somewhere ?

Re: ESP 32 C3 Supermini only works in monitor mode

Posted: Wed Jan 17, 2024 12:32 am
by ESP_Sprite
Do you happen to use GPIO9 for something? Also, does the board boot up succesfully when you don't have USB connected when you press the reset button?

Re: ESP 32 C3 Supermini only works in monitor mode

Posted: Wed Jan 17, 2024 12:40 pm
by lbernstone
What version of arduino-esp32? There were some issues with usb serial blocking the cpu in some of the 2.0.x versions.

Re: ESP 32 C3 Supermini only works in monitor mode

Posted: Wed Jan 17, 2024 9:12 pm
by Basalt
Additionally, you may check if your setup() has something like:

Code: Select all

while (!Serial);
If so, try to replace that with a fixed delay, eg

Code: Select all

delay(5000);