Hi,
I just got a Nano ESP32 today and I was trying to upload a sketch and I keep getting this error:
Flashing with command:C:/Users/russb/.arduino-create/arduino/dfu-util/0.11.0-arduino5/dfu-util.exe --device 0x2341:0x0070 -D C:/Users/russb/AppData/Local/Temp/arduino-create-agent4012556834/new_sketch_1746123215504.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 3 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
Executing command: exit status 74
I tried manually putting it into bootloader mode and that didn't work(that's what the ai assistant sayed to do) I'm using the cloud editor. I had the same error with my nicla vision and with that I just added it a device in arduino cloud but I did the same thing with this and that didn't do anything.
Thanks,
Isaac
Hi @isaac_boyd. This error indicates you have not installed the drivers for the Nano ESP32 board.
If you have Arduino IDE installed, a convenient way to get the drivers will be to use the Arduino IDE Boards Manager to install the "Arduino ESP32 Boards" platform. The drivers are automatically installed by Boards Manager. Once the drivers are installed, they will work for using the board with Arduino Cloud as well as for using it with Arduino IDE. I'll provide instructions you can follow to do that:
- Start Arduino IDE.
- Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
- Find the "Arduino ESP32 Boards" entry in the list of boards platforms.
- If you see a label like "<version number> installed" (where <version number> is some version number like 2.0.13), hover the mouse pointer over the "Arduino ESP32 Boards" entry, click the βββ icon that appears at the top right corner of the entry, select "Remove" from the menu that opens, and then wait for the uninstallation process to finish.
- Click the "INSTALL" button at the bottom of the "Arduino ESP32 Boards" entry.
- You should now see a "User Account Control" dialog about
dpinst-amd64.exe
asking whether you "want to allow this app from an unknown publisher to make changes to your device". Click the "Yes" button in the dialog:
- Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:
Successfully installed platform ...
After you have done that, try uploading the sketch to your Nano ESP32 board again, just as you did before. Hopefully it will be successful this time. If not, please let us know and we'll provide further assistance.
If you can't use Arduino IDE to install the drivers, just let me know and I'll provide some alternative instructions you can follow to do it.
Iβm using the Arduino cloud editor so I donβt need to install any drivers.
You do need to install drivers. Your computer needs to be able to communicate with the board over the USB connection.
Take a look at the command in the output you posted:
That is a tool that is on your hard drive, running on your computer, trying to communicate through the USB cable with the board that is connected to your computer. Exactly the same as what happens if you upload to the board using Arduino IDE.
Where are the drivers that I need to install, is in a Github repository? I am using the cloud editor so there isn't a install board button.
Not that I am aware of. However, you can download them from Arduino's download server:
- Click the following link to download the ZIP file that contains the drivers:
https://downloads.arduino.cc/cores/staging/esp32-v2.0.17-arduino.5.zip
- Wait for your web browser to finish the file download.
- Extract the downloaded file to any convenient location on your computer.
- Open the
drivers
subfolder of the extracted folder.
- Double-click on the file
dpinst-amd64.exe
you will see in that folder.
- You should now see a "User Account Control" dialog about
dpinst-amd64.exe
asking whether you "want to allow this app from an unknown publisher to make changes to your device". Click the "Yes" button in the dialog:
A "Device Driver Installation Wizard" dialog will now open.
- Click the "Next >" button in the "Device Driver Installation Wizard" dialog.
The drivers will now be installed and the dialog will change to show you the list of installed drivers.
- Click the "Finish" button in the dialog.
The dialog will close.
Now try using Arduino Cloud Editor to upload a sketch to the Nano ESP32 again, just as you did before when you encountered the error message. Hopefully this time everything will work as expected.
I understand that. If you read my previous reply again carefully, you will see that I was instructing you to use Arduino IDE not Arduino Cloud Editor. I thought that you might find using Arduino IDE to install the driver to be more friendly than the alternative procedure I describe here. But if you don't have Arduino IDE installed already and don't want to install it then that is fine.
1 Like
I installed the board in the ide and now it works.