Uploading sketch to Nano ESP32

In the past I played with various Arduinos and clones (now all apparently obsolete) using V1.8.x of the IDE and I managed to successfully write, compile, upload and run various sketches.
I'm running Windows 10
I've decided to have another go, so I have just taken delivery of the latest genuine Nano ESP32 and updated the IDE to V2.3.0
The IDE apparently recognises the board and the USB port. It knows it's a Nano ESP32 connected to port 5.
The Blink sketch compiles OK, but I get error messages when it tries to upload it.

Cannot open DFU device 2341:0070 found on devnum 38 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74

I've managed to get an old Wemos D1 R1 board to blink. So something's working.
Am I missing a driver? The V2 IDE installed some stuff along with itself.

Hello @pjaj and welcome back to the forums!

That error is indeed usually due to a missing Windows driver. If you search the Boards Manager for "esp32" you should find two packages:

  • one is "esp32 by Espressif", which I suspect is the one you have installed, and includes all ESP32 boards;
  • the other is "Arduino ESP32 Boards by Arduino", and includes the driver as part of the package installation process.

If you are already using the "Arduino ESP32 Boards" package, you can try removing and reinstalling it to force a new driver installation. Of course, when asked please allow Windows to install the drivers... :wink:

Let me know how this goes!

1 Like

Thanks. That was it. Somehow whilst replacing 1.8.x with 2.3.0 only the Expressive drivers got loaded. Blink now compiles and runs OK. Today Blink, tomorrow the world!

1 Like