Programming ESP32-C3-Mini using serial port

ulfh2025
Posts: 4
Joined: Tue Jan 21, 2025 3:55 pm

Programming ESP32-C3-Mini using serial port

Postby ulfh2025 » Tue Jan 21, 2025 4:02 pm

I wonder if it is possible to program the ESP32-C3-Mini using the serieal input instead of using USB, and if so how to do it.

Best regards

Ulf H.

ESP_Minatel
Posts: 383
Joined: Mon Jan 04, 2021 2:06 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ESP_Minatel » Tue Jan 21, 2025 7:23 pm

Hi,

Yes, you can flash via UART on the GPIO20 and GPIO21 (pads 30 and 31 on the ESP32-C3-MINI-1).
To flash, you need to get into download mode using the GPIO9 during the boot.

Please see the datasheet and all the information you need will be there.

ulfh2025
Posts: 4
Joined: Tue Jan 21, 2025 3:55 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ulfh2025 » Tue Jan 21, 2025 8:05 pm

That was whar I thought, but it does not work for me, so it looks like I will have to check my project

ESP_Minatel
Posts: 383
Joined: Mon Jan 04, 2021 2:06 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ESP_Minatel » Wed Jan 22, 2025 8:14 am

If you can, share the schematics and more details on how you are connecting the signals.

ulfh2025
Posts: 4
Joined: Tue Jan 21, 2025 3:55 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ulfh2025 » Wed Jan 22, 2025 12:49 pm

I have not included the PSU and the connectors. GPIO9 is connected to a push buttoen that connect to earth when pressed.
Attachments
ESP32-C3-Mini.png
ESP32-C3-Mini.png (65.87 KiB) Viewed 115 times

ESP_Minatel
Posts: 383
Joined: Mon Jan 04, 2021 2:06 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ESP_Minatel » Wed Jan 22, 2025 4:20 pm

Can you get any log output over the UART?

ulfh2025
Posts: 4
Joined: Tue Jan 21, 2025 3:55 pm

Re: Programming ESP32-C3-Mini using serial port

Postby ulfh2025 » Wed Jan 22, 2025 5:08 pm

I have tried to program from VScode using PlatformIO - get error "cannot connect". If I connect the decvice to my PC using the Arduino IDE and set up serial connection, there is no outpur on the serial monitor, so the anser is NO. This is the firsr time I try to solder a chip with so small contacts - I am using a hot-bed, so this might be an issue. Considering to use another form factor instead, but then I have to chose another ESP32. BTW programming ESP8266 or ESP32 WROOM works like a dream, so it is not a cabeling issue. Have also a breakout board with ESP32-C3-Mini, and this works like a dream, but I did not do the soldering, and I am programming using USB connection, which is not implemented on the board I have created myself.

Who is online

Users browsing this forum: softwaretom and 83 guests