I just bought an Arduino Nano ESP32 and when I try to upload any program I get this error:
dfu-util: Cannot open DFU device 2341:0070 found on devnum 3 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
Caricamento non riuscito: errore durante il caricamento: exit status 74
Upload failed: Error uploading: exit status 74
I kindly ask for your help in solving the problem.
Thank you
Giuseppe
Anonymous
I forgot to specify that I'm using the 2.1.1 IDE on Linux Mint 21.2 Cinnamon
Giuseppe
Me to, same Problem
Same here for me, see below message: using Arduino IDE 2.1.1 executed all updates, Windows 10. Arduino Nano ESP32. Same kind of error on webversion.
Cannot open DFU device 2341:0070 found on devnum 2 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Failed uploading: uploading error: exit status 74
Thanks
LIBUSB_ERROR_ACCESS indicates a permission problem. Try adding a udev rules file for your device (matching the USB ID of the bootloader in DFU mode). See an example here: https://sourceforge.net/p/dfu-util/dfu-util/ci/master/tree/doc/60-dfuse.rules
This, on the other hand, indicates a bootloader issue. The bootloader disappears (typically the device switches from DFU mode to Run-Time mode) before dfu-util can connect to it. There is nothing dfu-util can do if the DFU device is not present on the USB bus any longer.
Same problem with Arduino OPTA, Arduino IDE 2.1.1, macOS.
dfu-util 0.10-dev
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: Warning: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release
dfu-util: No DFU capable USB device available
Failed uploading: uploading error: exit status 74**
Nothing dfu-util can do in this case.
I think I have the similar problem using Arduino IDE V1..8.13 on RaspberryPi. trying to program ArduinoESP32. My error messages are:
Arduino: 1.8.13 (Linux), Board: "Arduino Nano ESP32"
/home/pi/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util --device 0x2341:0x0070 -D /tmp/arduino_build_815105/MalsARDUINOBlinkWithoutDelay.ino.bin -Q
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: Cannot open DFU device 2341:0070 found on devnum 11 (LIBUSB_ERROR_ACCESS)
dfu-util: No DFU capable USB device available
the selected serial port dfu-util: No DFU capable USB device available
does not exist or your board is not connected
Please excuse a Newbie user
Last edit: Tormod Volden 2023-08-03
hi everyone, I have the same problem on macos
Version: 2.1.1
Date: 2023-06-30T16:00:43.829Z
CLI Version: 0.32.3
if you have any documentation to fix it is great
thanks
This is maybe where you have to report this?
https://github.com/arduino/arduino-esp32
See also their Troubleshooting section.
I just reported the bug on https://github.com/arduino/arduino-esp32
Let's wait if we get some answers.
Giuseppe
Diff:
Apparently the missing udev rules was the problem. Hopefully they will fix it in the Arduino Nano ESP32 board package.
I had the same problem with arduino ide and Opta board. After trying a ton of different things, I followed the instructions here: https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux#mbed-os and it quickly solved the issue for me. I can now upload sketches.
I had this issue on a windows PC and updated the driver with zadig I followed these steps for installing a working DFU-driver. Try this at your own risk, it is what worked for me.
Run Zadig program
In Zadig, Click on ‘Options’ --> 'List all devices’
Select ‘CORE DFU’ and ‘libusbK’ for the driver. Press 'Install Driver’
It will show ‘Driver installed successfully!!!’
Upload your code to the Nano ESP32
What is the driver installed by default for "CORE DFU" (presumably by the Arduino board package installer)? dfu-util should work fine with either libusbK or libusb-win32 (libusb0.sys) or WinUSB.