ESP 32 C3 Supermini only works in monitor mode

TyconDavare
Posts: 1
Joined: Tue Jan 16, 2024 9:32 am

ESP 32 C3 Supermini only works in monitor mode

Postby TyconDavare » Tue Jan 16, 2024 9:40 am

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 ?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP 32 C3 Supermini only works in monitor mode

Postby ESP_Sprite » Wed Jan 17, 2024 12:32 am

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?

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP 32 C3 Supermini only works in monitor mode

Postby lbernstone » Wed Jan 17, 2024 12:40 pm

What version of arduino-esp32? There were some issues with usb serial blocking the cpu in some of the 2.0.x versions.

User avatar
Basalt
Posts: 28
Joined: Wed Aug 16, 2023 7:59 pm

Re: ESP 32 C3 Supermini only works in monitor mode

Postby Basalt » Wed Jan 17, 2024 9:12 pm

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);

Who is online

Users browsing this forum: No registered users and 80 guests