I started “build web servers..” – when trying to upload to a physical device VS does not find a port. I tried “pio device list –serial” and I get a CRLF – no list of serial ports. Laptop is brandnew, WIN 11 Home installed. Any idea why VS can´t find usb ports? p.s. I do get a return on “pio device list –mdns” … so the command per se works. It just does not find a serial port. Is it Win11? Fire wall?
Sorry – I tried another board (ESP8266) and with this board connected, the serial port was found by VS and it works as described. -> no Win11, no Firewall issue!
Likely reason: either hardware defect of teh ESP32 board or PC can´t handle the USB chip on the ESP32 board …
Hi.
Check which chip you have on the ESP32 and download the corresponding drivers.
Most ESP32 boards come with the CP2102 or CH340.
After checking which chip you have on your board, search something like:
“Install CP2102 drivers windows PC”
Then, after installing, check if your computer finds the serial port it is connected to and if you can upload code.
Regards,
Sara
Thanks Sara, it was exactly that. The Windows Update did not have the drivers for the Silab CP2102. Once i downloaded and installed the drivers it worked. The CH340 seems to come along with W11, because the 8266 that I tried and that had worked, had the ch340.