Upload to Nano ESP32 fails: "No DFU capable USB device available"

Continuing the discussion from No DFU capable USB device available:

And what if I still get this message?
I just bought a Nano ESP32 and I have the right package installed.
Any ideas?

Did you tryied to press reset button twice before start downloading?

Yes, I did that.

Hi @kalidoka. I'm going to ask you to provide the full verbose output from an upload attempt.


:red_exclamation_mark: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compile in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  8. Open a forum reply here by clicking the "Reply" button.
  9. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  10. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the "Reply" button to post the output.

there is no error code.
This is all I see: dfu-util: No DFU capable USB device available

Please follow the instructions I provided in my previous reply. Once you have done that, I'll provide further assistance.

I did just that. Nothing happens after the compiling. Only that message.

Ah, I forgot there is a bug in Arduino IDE 2.3.3 that causes it to behave as if the upload was successful even when it failed. That bug makes it so you can't follow my instructions.

Please follow these instructions:

  1. Attempt an upload, as you did before.
  2. Wait for the upload to fail/finish.
  3. Right click on the black "Output" panel at the bottom of the Arduino IDE window.
    A context menu will open.
  4. Select Copy All from the menu.
  5. Open a forum reply here by clicking the "Reply" button.
  6. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  7. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the upload output into the code block.
  8. Move the cursor outside of the code block markup before you add any additional text to your reply.
  9. Click the "Reply" button to post the output.
Sketch uses 286189 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30552 bytes (9%) of dynamic memory, leaving 297128 bytes for local variables. Maximum is 327680 bytes.
"/Users/petervanderfeen/Library/Arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "/private/var/folders/p1/yym14l2n2kb3w95fmxcrhc780000gn/T/arduino/sketches/08A7F18470E18519E93782C40B234B69/Blink.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: No DFU capable USB device available

OK, great. I'm going to ask you to provide some additional information that might help us to identify the problem:

  1. Connect the Nano ESP32 board to your computer with the USB cable.
  2. Open Arduino IDE's Tools > Port menu.

Please add a reply here on this forum thread to tell us what label (if any) you see after the item for the board's port in the menu.

It might be labeled as one of the following things:

  • "(Arduino Nano ESP32)"
  • "(ESP32 Family Device)"
  • A random ESP32-based board (e.g., "(DFRobot Beetle ESP32-C3)", "(ESP32-S3-Box)", "(ESP32C3 Dev Module)", "(LOLIN S3)", "(WiFiduino32S3)", etc.)

Or you might see only the port name (e.g., "COM42", "/dev/cu.usbmodem211410", "/dev/ttyACM0") in the menu, without any label.

ok I wasn't able to reach you here because of restrictions so I tried on another thread but I will try it here now again. This is what is says.

/def/cu.usbmodem1234561

I think i have resolved it myself. Since I didn't hear from you I decided to look on the website dfu-util: No DFU capable USB device available [Solved] and followed his instructions and I finally am able to upload to the Arduino Nano esp 32. In my case though I had to click twice slowly and after that click again to get it into bootloader. I also see now that the usb port has a different name. /dev/cu.usbmodemECDA3B5524D02.

Congratulations on getting it working!. Thank you for taking the time to post an update.

Regards, Per

Lo sketch usa 286197 byte (9%) dello spazio disponibile per i programmi. Il massimo è 3145728 byte.
Le variabili globali usano 30552 byte (9%) di memoria dinamica, lasciando altri 297128 byte liberi per le variabili locali. Il massimo è 327680 byte.
"/Users/alessandrolauro/Library/Arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "/Users/alessandrolauro/Library/Caches/arduino/sketches/B05FA39B263F86460842A2E0227EC149/sketch_may28b.ino.bin" -Q
dfu-util: No DFU capable USB device available
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/

Caricamento non riuscito: errore durante il caricamento: exit status 74

Hi @alelauro1969. Just so that we can be certain we fully understand your situation, please add a reply here on this forum topic to tell us which Arduino board you are using.

Please be as specific as possible, as some Arduino boards with similar names have significant differences and the forum helpers can only provide effective assistance if we are aware of which one is being used.

If you aren't sure how to describe which board you are using, you can provide the link to the online product listing you bought the board from and we'll proceed based on the information found there.