I have a Nano ESP32:
Sketch uses 300199 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 21300 bytes (6%) of dynamic memory, leaving 306380 bytes for local variables. Maximum is 327680 bytes.
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
dfu-util: error get_status: LIBUSB_ERROR_PIPE
Determining device status...
Failed uploading: uploading error: exit status 74
However I can upload fine if I select esptool and “upload using programmer”
Is there a way to fix this?
What happens if you double tap the reset button on the board and then try a normal upload ?
The onboard RGB goes a slow green blink, then:
Sketch uses 1112107 bytes (35%) of program storage space. Maximum is 3145728 bytes.
Global variables use 52560 bytes (16%) of dynamic memory, leaving 275120 bytes for local variables. Maximum is 327680 bytes.
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: No DFU capable USB device available
Failed uploading: uploading error: exit status 74
Ok, so some news. This morning, I turned my laptop on, and uploads worked as they do normally from the IDE!
By this afternoon, I was having the same issue again. I restarted my PC, and it’s working normally again!