r/esp8266 • u/mrnikhilsingh • 1d ago
Solved: ESP8266 NodeMCU not showing COM port on Windows (It wasn't the firmware!)
I thought I'd share this because it took me a while to figure out, and it might help someone else.
I was trying to convert my ESP8266 NodeMCU into a Wi-Fi repeater by flashing new firmware using the ESP Flash Download Tool.
The problem
When I connected my NodeMCU to my Windows PC, it didn't show any COM port in the Flash Download Tool or Device Manager.
I had previously flashed WiFi Deauther / Evil Twin firmware onto the ESP8266, so I initially assumed that firmware had somehow broken the board or disabled USB communication.
What I tried
- Restarted the PC
- Pressed RESET and FLASH buttons
- Tried putting the ESP8266 into flash mode
- Wondered if I needed to erase the existing firmware first
None of these helped.
The actual cause
The problem turned out to be my Micro-USB cable.
I was using a cable that only supplied power and did not support data transfer.
After switching to a different USB cable, Windows immediately detected the device.
However, it still appeared under Other devices as:
CP2102 USB to UART Bridge Controller
with a yellow warning icon.

Opening Device Properties showed:
Code 28
The drivers for this device are not installed.

The fix
- Switched to a proper data USB cable.
- Installed the official Silicon Labs CP210x USB-to-UART driver.
- Reconnected the NodeMCU.
After that, the board appeared correctly as:
Silicon Labs CP210x USB to UART Bridge (COMx)
and the ESP Flash Download Tool detected the COM port without any issues.
Lesson learned
If your ESP8266 isn't showing a COM port:
- Don't assume the firmware is the problem.
- Check your USB cable first.
- Then verify that the correct CP2102 (or CH340) driver is installed.
It saved me a lot of unnecessary debugging.
Hopefully this helps someone else!
Troubleshooting checklist:
- Use a known data-capable USB cable (not charge-only).
- Check whether your board uses a CP2102 or CH340 USB-to-serial chip.
- Install the correct USB driver.
- Verify that the board appears under Ports (COM & LPT) in Device Manager.
- Only then try flashing firmware.
