Computer environment: Microsoft Windows 11 Pro, x64 based
Exact version of dfu-util: 0.11.0-arduino5
Device: HP OMEN Gaming Laptop 16-ae0xxx
Console Output:
/usr/local/bin/arduino-cli compile --fqbn arduino:esp32:nano_nora:USBMode=default,PartitionScheme=default,PinNumbers=default --build-cache-path /tmp --output-dir /tmp/1448740225/build --build-path /tmp/arduino-build-D102B78192DC5311A61124C3BEE0E499 /tmp/1448740225/OPD-AD4011W3-BW_ControlProgram
[info] Sketch uses 286293 bytes (9%) of program storage space. Maximum is 3145728 bytes.
[info] Global variables use 30796 bytes (9%) of dynamic memory, leaving 296884 bytes for local variables. Maximum is 327680 bytes.
Flashing with command:C:/Users/jwilloughby/.arduino-create/arduino/dfu-util/0.11.0-arduino5/dfu-util.exe --device 0x2341:0x0070 -D C:/Users/JWILLO~1/AppData/Local/Temp/arduino-create-agent2769968519/OPD-AD4011W3-BW_ControlProgram.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/
Cannot open DFU device 2341:0070 found on devnum 13 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Executing command: exit status 74
I'm trying to flash my Arduino Nano ESP32 with code that I've written in the Arduino Cloud IDE.
I'm able to compile and verify the code within the cloud IDE but whenever I attempt to flash the device I get this output error.
Any help would be appreciated.
Thank you
Anonymous
Thanks for a good and detailed bug report. Unfortunately, the LIBUSB_ERROR_NOT_FOUND appearing together with "found on devnum XX" means that the DFU device was available for a short time but then disappeared. It is probably not staying long enough in DFU mode. This is a problem in the device bootloader, or the program (IDE) that puts it into DFU mode. There is not much dfu-util can do about it.