[SOLVED] Nano ESP32 upload issue

Hello Arduino friends,

A question about this board: Arduino ESP32 nano

This board does not have on-board USB to serial converter; it uses ESP32 as USB device
(Espressif Systems - ESP32 Native USB (0x1001))

Assume basic sketch just with

void setup() {
// put your setup code here, to run once:
}

void loop() {
// put your main code here, to run repeatedly:
}

When I try Sketch->Upload
I get error: No DFU capable USB device available
Failed uploading: uploading error: exit status 74

When I try Sketch->Upload using programmer
It uploads correctly.

I did a little research here...

There are like two modes of booting:
(1) double-tap the RESET button quickly. The onboard RGB LED will start pulsing green.
In my case Arduino is detected as USB(COM20) and windows devmgmt.msc shows Arduino DFU with exclamation mark symbol, see attached picture right hand side.

Result: Sketch->Upload does not work

(2) When booting without RESET button pressed. The onboard RGB is dark.
In my case Arduino is detected as USB(COM19) see attached picture left hand side.

Result: Sketch->"Upload using programmer" works. While Sketch->Upload does not work.

So my conclusion is that's probably something wrong with windows driver.

Now it is solved. I started devmgmt.msc as admin. And choose update driver on Arduino DFU. I gave a option "STM32 bootloader" driver which already was on my PC in the drivers list. And in the end Windows accepted it. I use Windows 10 Pro in my case.

Now Sketch->Upload works. :grinning_face: