ESP32-C3-WROOM-02-N4 Automatic Upload

alplayer01
Posts: 5
Joined: Tue Jul 22, 2025 10:56 pm

ESP32-C3-WROOM-02-N4 Automatic Upload

Postby alplayer01 » Wed Jul 23, 2025 12:20 am

Hello,

I am designing a Basic PCB at the moment using the ESP32-C3-WROOM-02-N4

I am wondering, how to design the board in such a way, that I am able to upload my code without pressing the boot and enable buttons (without using an external USB to Serial CP2102 or similar) ?

Attached: Schematic.

Thank you.
Attachments
ESP32-C3 Schematic.png
ESP32-C3 Schematic.png (284.87 KiB) Viewed 356 times

ves011
Posts: 59
Joined: Fri Oct 07, 2022 2:31 pm
Location: romania
Contact:

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby ves011 » Sun Jul 27, 2025 9:31 am

I guess you already found the answer :)

alplayer01
Posts: 5
Joined: Tue Jul 22, 2025 10:56 pm

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby alplayer01 » Mon Jul 28, 2025 9:55 pm

I guess you already found the answer :)
Not really. :(

I made a research before coming here. some say that there is an auto-reset circuit, and you don't need to hold the BOOT button at all, others insist that you need to press BOOT at power-on/reset.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby Sprite » Tue Jul 29, 2025 2:19 am

For the USB-serial-JTAG converter you don't need an external reset circuit, the thing implements that internally. Your schematic as it is should be good to go. You do want to make sure you make GPIO9 accessible from somewhere, as you want to be able to put the chip into download mode manually for the first flash and if you mess up your firmware by disabling the USB-serial-JTAG converter somehow.

alplayer01
Posts: 5
Joined: Tue Jul 22, 2025 10:56 pm

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby alplayer01 » Tue Jul 29, 2025 6:47 am

For the USB-serial-JTAG converter you don't need an external reset circuit, the thing implements that internally. Your schematic as it is should be good to go. You do want to make sure you make GPIO9 accessible from somewhere, as you want to be able to put the chip into download mode manually for the first flash and if you mess up your firmware by disabling the USB-serial-JTAG converter somehow.
Oh, the first flash is the most important one. its actually going to be for a commercial product. the contract manufacturer needs to flash multiple chips at the same time.. having to press buttons is not practical at all. Should we add a 5-pin header having 5v,gnd,d+/d-/gpio9 (in which gpio9 is directed to gnd once it is plugged in), or that wont work? would appreciate any suggestions.

Thanks.

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby Sprite » Tue Jul 29, 2025 9:30 am

That would work. If you're developing that anyway (and have enough GPIOs free), also put EN, RX and TX on that connector, in case the contract manufacturer prefers serial over USB. Also, if you're interested, Espressif also sells ESP32 modules preprogrammed with your firmware of choice (if you buy more than a certain MOQ, iirc something like a few thousand) if you don't want to bother.

alplayer01
Posts: 5
Joined: Tue Jul 22, 2025 10:56 pm

Re: ESP32-C3-WROOM-02-N4 Automatic Upload

Postby alplayer01 » Tue Jul 29, 2025 11:49 am

That would work. If you're developing that anyway (and have enough GPIOs free), also put EN, RX and TX on that connector, in case the contract manufacturer prefers serial over USB. Also, if you're interested, Espressif also sells ESP32 modules preprogrammed with your firmware of choice (if you buy more than a certain MOQ, iirc something like a few thousand) if you don't want to bother.
Great. Thanks a lot for the suggestions!

Who is online

Users browsing this forum: No registered users and 5 guests