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.
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
- Attachments
-
- ESP32-C3 Schematic.png (284.87 KiB) Viewed 358 times
-
alplayer01
- Posts: 5
- Joined: Tue Jul 22, 2025 10:56 pm
Re: ESP32-C3-WROOM-02-N4 Automatic Upload
Not really.I guess you already found the answer![]()
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.
Re: ESP32-C3-WROOM-02-N4 Automatic Upload
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
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.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.
Thanks.
Re: ESP32-C3-WROOM-02-N4 Automatic Upload
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
Great. Thanks a lot for the suggestions!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.
Who is online
Users browsing this forum: No registered users and 6 guests
