I'm relatively new to arduino. I am trying to upload my sketch to a ESP32-CAM with a CH340C chip thing on the uploading board. However it returns this error in Arduino's console:
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool latest documentation
Failed uploading: uploading error: exit status 2
I have checked that my USB cable is capable of transferring data. I think that this problem may be due to drivers but apparently Windows 11 already has a driver installed for the CH340C. I went to this link to get try download driver (https://www.wch-ic.com/downloads/CH341SER_EXE.html) and when i clicked uninstall current one it said I don't have a current one. But then when I try to install it it says "driver already successfully pre installed in advance" and proceeds to not download the driver. But when I go back to Arduino it does not show a connection or port with the ESP32-CAM and still has only one COM1. For further context I am using esp32 board made by espressif, and the board I selected was ESP32-CAM Dev Module. Pls Help
This is a summary of waht I have done:
Issue: ESP32-CAM Not Recognized by Windows (Only COM1 Showing)
Problem:
- My ESP32-CAM MB is not detected in Windows 11.
- Only COM1 appears in Arduino IDE, even after installing CH340C drivers.
- Device Manager does not show "USB2.0-Serial" or any new COM port when plugging in ESP32-CAM.
- When trying to upload code, I get:
"Failed to connect to ESP32: No serial data received."
- CH340C driver installation says "successfully pre-installed in advance," but still no detection.
- Pressing IO0 (IOO) button while plugging in does not help.
- Tried different USB cables and ports, but same issue.
What I’ve Tried:
- Checked Device Manager → No new device appears when plugging in.
- Reinstalled CH340C driver manually from WCH official site.
- Tried different USB cables (confirmed data cables).
- Tried different USB ports (including USB 2.0).
- Held IO0 while plugging in → No change.
- Checked on another PC → Same issue.
Questions:
- Could the ESP32-CAM MB be defective?
- Is there a way to force detection or debug this further?
- Any way to check if the CH340C chip is dead?
Any help would be appreciated!
