ESP32 USB-C Boards: Native USB, UART Bridges and Boot Recovery

Find which USB port your ESP32 uses, get into the ROM loader and recover a missing port on ESP32-C3, C6 or S3. Includes USB and UART pin maps and esptool checks.

You flash an ESP32-S3, the upload finishes and the COM port vanishes. Or the board has two USB sockets and the same cable gets you a port on one but nothing on the other. It’s easy to start changing drivers or wiping flash at this point. First find out what was answering the PC on that socket. On one port it might be a separate USB-to-UART chip. On the other it could be the ESP32 itself. The way you get back in depends on that.

This esp32.co.uk/ guide uses the ESP32-C3PriceAliExpress price, C6 and S3 to go from a missing port to a verified connection with the ROM loader, then back to a running program. Start with the board by itself, a known data cable and only one power feed. If you have two USB sockets, work through them one at a time so you know which device is which.

Follow the data lines

USB-C describes the connector. Behind it, the D+ and D− pair might go to a CP210x, CH340 or another bridge. The bridge converts USB to regular serial signals and sends them to the ESP32’s UART0. It typically enumerates while the ESP32 is in reset, as long as the bridge itself still has power. So a port in Device Manager is good evidence that the bridge and cable are working. The ESP32 could still be held in reset, running your old program or sitting in download mode.

If D+ and D− go to GPIOs on a C3, C6 or S3, the host can talk directly to the ESP32’s built-in USB Serial/JTAG controller. It’s a fixed-function device with a CDC serial interface and a JTAG interface. The serial side can be used for flashing and console traffic. OpenOCD uses the JTAG side. You can have both functions over one cable when the controller is available. It can’t turn into a USB keyboard because the firmware changes a descriptor. For that you need a programmable USB device controller, such as the S3’s USB OTG block. C3 USB Serial/JTAG, C6 USB Serial/JTAG, S3 USB Serial/JTAG.

Two separate board paths from USB through a UART bridge or directly to the chip's USB Serial/JTAG controller

On the S3, USB OTG and USB Serial/JTAG normally share the one internal USB PHY, the circuitry that drives the USB lines. An app can use USB OTG with TinyUSB to present a keyboard, a CDC serial port or a composite device. With OTG using the internal PHY, you lose the built-in USB JTAG path on that PHY. A separate UART bridge can still give you a console if the firmware sends logs there. Espressif documents external PHY and separate JTAG options for designs that need both at once. For a regular two-port DevKit you can usually get on with the job using one port for the application’s USB device and the other for UART logging. S3 USB device stack and PHY.

The practical test is to plug in each socket separately and check it against the board guide. On a third-party board, get the schematic for the exact revision. A board listing that says “USB-C programming” could mean a bridge or native USB. Spotting a bridge chip helps, but also check which socket goes to it. A socket that powers the board by itself can still have no usable data path.

Identify the board before touching the pins

BoardUSB route to try firstOther route
ESP32-C3-DevKitM-1PriceAliExpress priceMicro-USB to the on-board UART bridgeThe chip has native USB Serial/JTAG. The board’s default USB socket is the bridge.
ESP32-C6-DevKitC-1PriceAliExpress price v1.2USB Type-C to UART for a separate bridge connectionThe ESP32-C6 USB Type-C socket goes to on-chip USB Serial/JTAG.
ESP32-S3-DevKitC-1 v1.1USB-to-UART port for an independent console and recovery pathThe ESP32-S3 USB port connects to the chip’s USB pins.
One-port C3 or C6 SuperMini-style boardFollow the exact board schematic or identify the enumerated deviceLook for exposed UART0, GND, BOOT and EN if you need another recovery route.

Look up the board revision printed on the PCB. The official C3 DevKitM-1 and S3 DevKitC-1 v1.1 are useful references even though their documented connectors are Micro-USB. A third-party design can put the same chip behind USB-C and route it differently. The C6 DevKitC-1 v1.2 has two Type-C connectors, so it’s a good example of why the shape alone tells you very little. C3 DevKitM-1 guide, C6 DevKitC-1 v1.2 guide, S3 DevKitC-1 v1.1 guide.

The native pin mappings below are chip connections. Use the pin names on your schematic to find where they go on the PCB. The BOOT pins are shown separately because they are sampled at reset. They don’t carry USB data.

ChipUSB D−USB D+Main BOOT strap for downloadCompanion strap condition
ESP32-C3GPIO18GPIO19GPIO9 low at resetGPIO8 high
ESP32-C6GPIO12GPIO13GPIO9 low at resetGPIO8 high
ESP32-S3GPIO19GPIO20GPIO0 low at resetGPIO46 low or left floating
Original ESP32, such as ESP32-WROOM-32——GPIO0 low at resetGPIO2 low or left floating
Verified D-minus, D-plus and ROM boot strap pin assignments for ESP32-C3, C6 and S3

Check the exact strapping section before wiring a custom board. On the C3 and C6, pulling both GPIO8 and GPIO9 low is an invalid combination for the download path. See what the attached LED board, relay board or display does at reset. The GPIO can be perfectly usable later as an output and still be a poor place for a peripheral that drives it during boot. On the original ESP32 there are extra details, including the flash-voltage strap on GPIO12. Don’t copy the C6 pin plan to a board with the older ESP32 chip. C3 boot selection, C6 boot selection, S3 boot selection, Original ESP32 boot selection.

For a custom C3, the datasheet also recommends pulling GPIO2 up to avoid glitches. It explains that GPIO2 does not decide between SPI boot and joint download mode. On an assembled DevKit, start by removing your external wiring and trying the buttons. The intended strap circuitry is already on the board. Then add the peripherals back and check which one changes how the chip starts. ESP32-C3 datasheet, boot mode control.

If yours is a clone, compare the layout with the actual pins on the silkscreen and schematic. That applies to the recovery pads too. I’d keep a note for the exact board while it’s in front of me. An unmarked USB socket or a vendor photo can be miles off once you have two revisions on the bench. C3 vs C6 SuperMini boards, C6 DevKitC vs DevKitM.

Get the host to see a device

Use a cable you’ve already used to transfer data. A power LED can come on through a charge-only cable. Try a direct port on the computer and disconnect the hub, dock or front-panel extension for this check. Remove external hardware from the ESP32 with power off, especially anything on EN, the boot straps, UART0 or the USB pins. Then reconnect the board using its intended power input. If another device is still connected to the board, it can hold a pin in the wrong state or power part of the circuit through that pin.

In Windows, have Device Manager open before you plug in. Look for a new entry under Ports and also look for an unknown device under the USB categories. Note what happens on unplug, normal reset and when you enter download mode. On Linux the native serial function often appears as /dev/ttyACM* and a bridge often as /dev/ttyUSB*. On macOS compare the /dev/cu.* names before and after. Use the changed entry and its device identity. The prefix alone is only a clue.

# Linux, if these paths are present
ls -l /dev/serial/by-id/
ls -l /dev/ttyACM* /dev/ttyUSB*

# macOS
ls /dev/cu.*

If Windows sees a USB device but doesn’t give you a working serial port, identify the interface and driver. A CP210x needs support for that bridge. Installing a CH340 driver on the off-chance won’t fix it. On native USB Serial/JTAG, the serial and debug functions can have different driver requirements. If the COM port works and OpenOCD gives a USB access error, fix the JTAG interface driver or permissions for the Espressif tools. There’s no reason to replace the working CDC driver just to try something. Espressif built-in S3 JTAG setup.

If you have a port and the uploader can’t open it, close Arduino Serial Monitor, IDF Monitor, any browser flasher and any terminal attached to that port. Deal with serial permissions on Linux through the distribution’s documented group or device rule. A serial device that appears and then disappears needs a different check. Watch whether it goes away at the same point after every reset. If it consistently disappears when the app starts but stays up in the ROM loader, that’s useful evidence.

Put the chip into the ROM loader manually

On the usual board with BOOT and EN or RESET buttons, hold BOOT down, press and release EN while still holding BOOT, then release BOOT. The strap is sampled as the chip comes out of reset. On a board without buttons, use the documented pads, confirm which pad is the strap and which is reset, and use the board’s specified pull state and voltage. Let EN go high while the boot strap is held low. Avoid shorting guessed pins on an unfamiliar board.

Hold BOOT while pressing and releasing EN, then release BOOT and find the download port

On a board with a bridge, the COM number might stay the same through this process, because the PC is talking to the bridge. The status that changed is inside the ESP32. On native USB, recheck the device list after the reset. The operating system might create a new port, especially on an S3 changing from a TinyUSB application to the ROM’s interface. Use the port that exists now. If your terminal kept an old handle, close it and reconnect.

If you have a UART0 boot log, reset with the monitor at 115200 baud and read the boot-mode line. A download indication shows that the ROM has selected a loader mode. A normal flash-boot indication means it sampled a strap for normal boot. The text can differ across chips and ROM revisions. A blank UART screen is less conclusive and can come from ROM log settings, the wrong UART pins or the wrong socket. Close the monitor before trying the next command.

The bridge’s automatic reset uses DTR and RTS, usually through a small transistor circuit wired to the boot strap and EN. A plain USB UART adapter with TX and RX alone won’t supply those reset signals. Native USB Serial/JTAG can request download mode itself when the controller is available. If the code reconfigured those pins, the manual button sequence is what gets you away from that code. If manual entry works and auto entry never does, follow the reset path. Check the board schematic and, if you can, watch what EN and BOOT do around reset. Some terminal programs assert control lines when they open a serial port. Try with hardware flow control off and the terminal closed during upload. esptool reset behaviour.

Prove communication before flashing

I use a flash ID read for a stock development board that’s already in download mode. It gives you a handshake and a response from the flash chip without writing to flash. These commands use esptool v5 syntax. Put global reset options before the command. Replace COM7 with the port identified on your system, and check that you’re running the tool from the intended Python or ESP-IDF environment. An older SDK can ship an earlier esptool and use underscore-separated names.

esptool version
esptool --port COM7 --before no-reset --after no-reset flash-id

--before no-reset tells esptool to try to sync without asking it to do the usual reset sequence first. --after no-reset skips the usual end reset. Esptool can load its flasher stub into RAM by default. There’s still no flash write in this command. If there’s a reported failure launching the stub on an ordinary dev board, enter manual download mode again and try the same read through the ROM when that mode supports it. Recheck the port after the reset. If the output identifies a restricted device, use the board’s authorised service procedure.

esptool --port COM7 --before no-reset --after no-reset --no-stub flash-id

Read the result in two parts. Did the tool identify the chip? Did it return a sensible manufacturer and device ID for the flash? A failure before sync means you’re still dealing with the path to the loader. A successful handshake followed by a flash read problem points to a different part of the setup. Check the flash interface and power. If identification works from the UART bridge and fails from native USB, you now have a way to recover and somewhere smaller to look for the USB problem. esptool basic commands, esptool troubleshooting.

For a managed or production device, taking the board out of its enclosure and pressing BOOT may only get you a limited loader. Secure Download mode limits commands and can block the usual stub. A device can also have ROM download disabled or JTAG restricted. Use its documented update or service route and the appropriate authorised firmware. A normal developer-board flash recipe can overwrite NVS, pairing data and calibration stored in flash if it erases or writes over those partitions. Check the project’s partition and update procedure before you write. ESP-IDF ROM download configuration.

Use UART0 when the native port stays down

If the board already has a bridge, use its socket first. Keep the native connector unplugged while you test the bridge alone. On a native-only board with accessible UART0 pins, a separate USB-to-serial adapter with 3.3 V logic is useful. With power off, connect adapter TX to chip UART0 RX, adapter RX to chip UART0 TX and GND to GND. Power the board from its normal input. Leave adapter VCC disconnected in this setup, and confirm the adapter’s signal levels. A label saying “3.3 V” next to a power pin sometimes only describes the power pin.

Treat the board schematic as the source for the actual UART0 pads. Data wires cross between adapter and chip. Double-check the labels if the vendor names TX from the adapter’s point of view. An adapter is for compatible UART logic. It doesn’t go on the D+ and D− pads. A 5 V TTL or an RS-232 level port can damage the ESP32’s pins. Once it’s connected, use manual BOOT and EN, then test the loader again. If two UART transmitters already drive the same RX node, use one path or follow the board’s isolation method so they can’t fight.

ChipESP UART0 TX to adapter RXESP UART0 RX from adapter TX
ESP32-C3GPIO21GPIO20
ESP32-C6GPIO16GPIO17
ESP32-S3GPIO43GPIO44

These are the UART0 pins for ROM access on the three reference chips. Your application might move its UART to different GPIOs. Use the ROM pins when flashing or watching the early boot log, and remember that a small board might not expose them at all. The header tables in the three DevKit guides show the actual routing. A labelled TX pad is an output from the chip on those reference boards.

For a bench recovery I’d leave the project in a known state first. If it’s your own IDF project, check the target and module, confirm the flash size and mode and use the project-generated flash arguments. This example assumes you are at the root of a known-good ESP32-S3 project configured for the actual board. The project may write the bootloader, partition table and application. Confirm the effect before you run it. If you need a test project, use a copy of Espressif’s hello_world and set the target there. Keep board-specific flash and PSRAM options as required for your module.

# ESP-IDF terminal at the root of the already configured project
idf.py build
idf.py -p COM7 flash
# Release BOOT and tap EN if the board remains in download mode.
# Use the runtime port if Windows assigned a different number.
idf.py -p COM7 monitor

IDF’s normal flash action may attempt automatic reset. If you have an adapter without those lines, enter download mode again just before flashing. If the project still requires the flasher to skip automatic entry, use its generated esptool invocation with the documented reset option for that esptool release, keeping the project’s addresses and files. This is a good place to avoid a standalone binary from an unrelated board. Two S3 boards can both report ESP32-S3 and use different flash or PSRAM configurations. ESP-IDF project, flash and monitor commands, S3 module memory settings.

When the write succeeds, reset with BOOT released. This matters if you entered download manually through the native USB route. Some USB Serial/JTAG reset operations reset the core without sampling the boot straps again. A tap of the physical EN button with BOOT up asks the chip to start normally. Check the new boot log and something the app actually does, such as printing a unique build marker. It’s easy to see a progress bar and think the job is done even though the board is still in download mode, running the old slot or resetting on the way into the app. If the monitor shows invalid headers or PSRAM errors after a successful write, compare the flashed build settings with the module and the partition table. If the build needs saved app settings, keep them through recovery using the project’s documented update path. esptool reset options and USB behaviour.

Set the console you actually want

ESP-IDF can put its primary console on UART or on the hardware USB Serial/JTAG controller. For bidirectional native USB console on the C3, C6 or S3, select CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG. The secondary USB Serial/JTAG choice can mirror output. If you need to type commands into the device, select it as the primary console. After flashing, looking at the other socket can give you a perfectly healthy COM port and a blank terminal. Check the application’s console selection before changing the baud or rebuilding.

On Arduino, read the Tools options for the target you’ve selected. With a typical S3 using the fixed-function controller, use **Hardware CDC and JTAG** where offered, enable **USB CDC On Boot** for the native USB serial console, and check the **UART0 / Hardware CDC** upload option where the board menu exposes it. The port selected at upload still decides which physical connection the uploader uses. With USB CDC on boot, Serial goes to the configured USB console on supported targets. Use Serial0 if you want UART0 on a supported configuration. The target, board package and version determine the actual menu labels. Arduino ESP32 Tools menu, Arduino CDC and DFU setup.

On S3, OTG mode with TinyUSB is the configuration for a programmable USB device such as HID. An application CDC port and a ROM downloader port can appear as different devices. DFU is a firmware update interface. It doesn’t give you a serial monitor by itself. Pick the console and upload route for the actual firmware. If you are debugging a USB device you’ve just written, sending diagnostics out on UART0 makes sense. You can then reset, watch the enumeration and still see the boot log when the native interface misbehaves.

A port that vanishes when the app starts

Check what the app does immediately after boot. An accidental GPIO assignment to the native D pins can make the host lose its USB device. The same can happen if you change the S3’s USB peripheral from hardware Serial/JTAG to OTG and give the app a different descriptor. In both cases manual download mode is a way to distinguish the application from the ROM’s behaviour. Record the device identity in ROM mode and again in the application so you don’t keep selecting yesterday’s COM number.

When the ESP32 goes into deep sleep, the native controller switches off and the host sees it disconnect. After wake, allow for re-enumeration before reconnecting your monitor. Light sleep can make the peripheral unresponsive and on some setups the host may need a cable reconnect after wake. A separately powered USB-to-UART bridge can remain listed the whole time even while the chip produces no UART output. If the port disappears on a timer-driven project, compare its timing with the sleep interval. For a sleeping sensor I’d verify the UART or native log during an awake test and put the board back on the power fixture for current measurement. ESP32-C3, C6 and S3 deep-sleep measurement guide.

If a serial session works and you need actual JTAG debugging, use the correct Espressif OpenOCD build and target config. On the S3 the built-in setup is board/esp32s3-builtin.cfg. Plug into the socket routed to the chip’s USB pair and check that the application leaves the Serial/JTAG controller and internal PHY available. On a standard UART bridge socket, OpenOCD can’t reach on-chip USB JTAG through the bridge’s TX and RX. DTR and RTS for flashing only affect reset and boot selection. ESP32-S3 OpenOCD configurations.

Work through two common bench cases

Say your S3 app is meant to be a USB keyboard, but right after upload the native COM port disappears. Check whether the host now sees the HID device. If the keyboard works, that is the app running with the interface you compiled into it. Use the UART socket for logs or enable a CDC interface in your own USB device design if you need both on the same cable. If you pressed BOOT and EN and a COM port appeared again, there’s a good chance you are now seeing the ROM download interface. That port is useful for recovery. Test the keyboard after you reset normally. You can have two names in your bench notes for one physical socket because these are two separate modes.

Now take a C6 with two Type-C sockets and an automatic upload that always stops at Connecting.... A COM port that survives an EN reset on the UART socket points to the bridge still talking to the host. Watch UART0 at reset. If it always shows normal flash boot, hold BOOT while you release EN and read the log again. If manual entry changes the log and the flash ID read works, the data link to the loader exists. Look at the DTR and RTS path, or at a strap driven by a peripheral, before touching flash. If you had simply selected the wrong COM port earlier, label the two sockets and use the explicit port option next time.

The main evidence in both cases comes from a known transition. Swap from application to ROM on the same socket or swap sockets with the same board and cable. Run the same small test after the change. If you switch the cable, install a driver, reconnect every peripheral and erase the board all in one go, you’ve lost the observation that would have explained the fault. Keep the port name, what the device enumerated as, and the first error from esptool or the boot log. That’s usually enough to tell where you should spend the next few minutes.

Troubleshoot by the last step that worked

Troubleshooting flow for no USB device, no ROM sync, interrupted flashing or a missing runtime port
Last thing you can confirmWhat to check next
LED lights, host sees no deviceData cable, correct socket, direct host port and, for a custom USB-C sink, the CC terminations.
Host sees a device, upload can’t open the portCorrect port, driver, permissions and whether a second program has it open.
Port opens, loader won’t syncManual BOOT and EN, current download port, attached peripherals and strap levels. If using UART0, check TX, RX and common ground.
Sync works, write drops outCable or hub, supply droop and a slower UART transfer rate if using a bridge.
Write completes, program doesn’t startNormal reset with BOOT released, then check the UART boot log, image target and flash settings.
Program runs, native port disappearsUSB pin assignments, console selection, TinyUSB configuration or sleep.

If a C-to-C cable fails while a known data A-to-C cable works, inspect the CC circuit on the board. On a basic USB-C device-only receptacle design, CC1 and CC2 each have their own 5.1 kΩ pull-down to ground. A missing pull-down can stop a Type-C source from seeing a valid attachment. If only one plug orientation works, also inspect both duplicated USB 2.0 data contact pairs and the connector soldering. Use the correct reference design and a real USB 2.0 differential route on a custom PCB. Don’t feed USB VBUS into the chip’s 3.3 V rail. Espressif USB Type-C hardware guide.

If every cable gives you a failure at a different percentage through the write, slow down the transfer on the UART path and check the load-side supply voltage. A powered adapter can still have a weak 3.3 V regulator. The board should draw its power through the intended regulator and wiring. If the percentage is consistent, save the full log and check the command, flash mode and address range. Sometimes a driver error is just the result of a reset caused by a voltage dip earlier in the trace.

Before burying a board in a case, label the socket you use for flashing and write down the path to the ROM downloader. For an S3 that’s meant to behave like a USB keyboard or other USB device, provide access to UART0, GND, BOOT and EN during development. For a single-port C3 or C6, verify the native recovery procedure once with the project wired up. Then when a port disappears after the next firmware change, you already know which connection can get you back in.

CONTINUE EXPLORING / ESP32 & ELECTRONICS

Read next

Practical guides related to this article.

Explore the topic →
HARDWARE DECISION GUIDEWhich ESP32 board should you use?

Compare practical options before you choose hardware.

Compare options →