I’m having an issue with my ESP32 C3 – the device is not being detected properly in Device Manager. When I connect it to my computer, under “Universal Serial Bus Controllers,” I don’t see “USB JTAG/serial debug unit.” Instead, I only see other USB devices like “USB Root Hub” and “Composite USB Device.”
I found a suggestion on this forum to check if “USB JTAG/serial debug unit” appears under “Universal Serial Bus Devices” in Device Manager. If it does, the next step is to right-click and update the driver. Unfortunately, this device doesn’t appear for me, even though I’ve tried using different USB ports (2.0, 3.0, 3.1) and different cables.
Additionally, I tried pressing the RST and Boot buttons to enter programming mode, but that didn’t work either.
I’m also able to upload code via Arduino Cloud, but I cannot do it locally. When I try to upload code locally, I get the error: “Failed uploading: uploading error: exit status 1.”
Has anyone encountered a similar issue? What drivers should I install, or what other steps can I take to get my ESP32 C3 detected properly?
When you encounter the above two situations, you can try to put XIAO into BootLoader mode, which can solve most of the problems of unrecognized devices and failed uploads. The specific method is:
Long press the “BOOT BUTTON”.
Connect the Seeed Studio XIAO ESP32C3 to your computer while holding the BOOT BUTTON.
I know about that; I held this button for ten seconds and for about a minute, but nothing changed.
Sketch uses 266298 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 11844 bytes (3%) of dynamic memory, leaving 315836 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.8.1
Serial port COM4
Connecting…
Chip is ESP32-C3 (QFN32) (revision v0.4)
Features: WiFi, BLE, Embedded Flash 4MB (XMC)
Crystal is 40MHz
MAC: 9c:9e:6e:f7:1d:54
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
Flash will be erased from 0x00000000 to 0x00004fff…
Flash will be erased from 0x00008000 to 0x00008fff…
Flash will be erased from 0x0000e000 to 0x0000ffff…
Flash will be erased from 0x00010000 to 0x00053fff…
Compressed 19440 bytes to 12467…
Writing at 0x00000000… (100 %)
Wrote 19440 bytes (12467 compressed) at 0x00000000 in 0.3 seconds (effective 508.2 kbit/s)…
Hash of data verified.
Compressed 3072 bytes to 146…
Writing at 0x00008000… (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.1 seconds (effective 235.1 kbit/s)…
Hash of data verified.
Compressed 8192 bytes to 47…
Writing at 0x0000e000… (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 528.2 kbit/s)…
Hash of data verified.
Compressed 277760 bytes to 153583…
Writing at 0x00010000… (10 %)
Writing at 0x0001ba8d… (20 %)
Writing at 0x00023d93… (30 %)
Writing at 0x00029fff… (40 %)
Writing at 0x00030478… (50 %)
Writing at 0x000369fd… (60 %)
Writing at 0x0003d067… (70 %)
Writing at 0x00044e86… (80 %)
Writing at 0x0004b072… (90 %)
Writing at 0x000513e7… (100 %)
Wrote 277760 bytes (153583 compressed) at 0x00010000 in 2.2 seconds (effective 1016.2 kbit/s)…
Hash of data verified.
Leaving…
Hard resetting with RTC WDT…
A serial exception error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, ‘Urządzenie dołączone do komputera nie działa.’, None, 31)
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation