[Solved] ESP 32 Driver

I've been struggling all day on what (should) be the most simple thing in the world. All I need is to install the correct driver for COM3 so that I can program my ESP-WROOM-32 controller through a micro usb port.

The problem: I install the software with no issues, but the new driver never shows up in Device Manager.

I do not understand what the problem is. I download this driver:

I unzip the files. I use the 64 bit installer (which is the correct one) and install it. I hit "next" a few times and then finish, and it tells me that everything has been installed. But then I go to device manager and see the same exact drivers for COM3 and COM4 as always. When I plug my controller in through the USB port it never picks it up, and when I try to upload a program I get this error:

Arduino: 1.8.9 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
Sketch uses 212252 bytes (16%) of program storage space. Maximum is 1310720 bytes.
Global variables use 15316 bytes (4%) of dynamic memory, leaving 312364 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM3
Connecting...
Traceback (most recent call last):

  • File "esptool.py", line 2959, in *
  • File "esptool.py", line 2952, in _main*
  • File "esptool.py", line 2653, in main*
  • File "esptool.py", line 460, in connect*
  • File "esptool.py", line 440, in _connect_attempt*
  • File "esptool.py", line 379, in sync*
  • File "esptool.py", line 322, in command*
  • File "esptool.py", line 285, in write*
  • File "site-packages\serial\serialwin32.py", line 323, in write*
    serial.serialutil.SerialTimeoutException: Write timeout
    Failed to execute script esptool
    An error occurred while uploading the sketch

I'm fairly sure this is because the driver is telling me it is installed, but it really is not. I've installed drivers before and never had this problem, although this is a new computer for work. Any ideas?

Note: I have already tried restarting, shutting down etc...

1 Like

see if this tutorial is useful: ESP-WROOM-32: Uploading a program with Arduino IDE - techtutorialsx

Just coming back here to answer my previous question,

The installation was actually working, but there were several problems causing it not to work:

  1. You must plug in a usb-ttl converter for the CP210 installation to occur (it will occur automatically as soon as you plug this in.)

  2. The USB I was using only had a Power and GND connection, so it merely powered my PCB, rather than allowing it to be programmed. I solved this by using the same USB to provide power, and adding two header pins for RX and TX so that my usb-ttl converter could be connected to those instead (RX to TX and TX to RX.)

Thanks for taking the time to post an update Clefsphere! I'm glad to hear you found the solution. Enjoy!

Clefsphere:
Just coming back here to answer my previous question,

The installation was actually working, but there were several problems causing it not to work:

  1. You must plug in a usb-ttl converter for the CP210 installation to occur (it will occur automatically as soon as you plug this in.)

Yes, that is how it is suppose to work.

You need the USB-TTL adapter to use with your ESP32 module, so why you wouldn't have plugged it in is beyond me.

Clefsphere:
2. The USB I was using only had a Power and GND connection, so it merely powered my PCB, rather than allowing it to be programmed. I solved this by using the same USB to provide power, and adding two header pins for RX and TX so that my usb-ttl converter could be connected to those instead (RX to TX and TX to RX.)

I have no clue which USB-TTL adapter you have, but the CP2102 USB-TTL adapter that I have also has
TX and RX and DTR pins. All the ones I have seen being sold online have more than just power and ground.
.

I was trying to do the installation before plugging it in. Just stupidity on my part, I suppose!

To ieee488: I've made a mistake in my last post that misled you here. I was providing power through a micro usb port that only had GND and Power ports. The USB-TTL converter I'm using is normal and has RX and TX and all the rest.