Dfu-util: No DFU capable USB device available

dfu-util: No DFU capable USB device available
That is the error message i get when I try to upload my script to the arduino nano ESP32.
I tried many things but it wont work.
I also gave full permission to everyone for the usb ports with this command
sudo chmod -R 777 /dev/bus/usb
I am using Debian-Linux

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


:exclamation: 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.
    Code block icon on toolbar
  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.
Sketch uses 293481 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30944 bytes (9%) of dynamic memory, leaving 296736 bytes for local variables. Maximum is 327680 bytes.
"/home/gabriel/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "/tmp/arduino/sketches/F1152D62E3F727661763E208030D7CC4/ldr-ARDUINO.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/

Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device

Download	[                         ]   0%            0 bytes
Download	[=                        ]   4%        12288 bytes
Download	[==                       ]   8%        24576 bytes
Download	[===                      ]  12%        36864 bytes
Download	[====                     ]  16%        49152 bytes
Download	[=====                    ]  20%        61440 bytes
Download	[======                   ]  24%        73728 bytes
Download	[=======                  ]  28%        86016 bytes
Download	[========                 ]  32%        98304 bytes
Download	[=========                ]  37%       110592 bytes
Download	[==========               ]  41%       122880 bytes
Download	[===========              ]  45%       135168 bytes
Download	[============             ]  48%       143360 bytes
Download	[=============            ]  52%       155648 bytes
Download	[==============           ]  56%       167936 bytes
Download	[===============          ]  60%       180224 bytes
Download	[================         ]  64%       192512 bytes
Download	[=================        ]  68%       204800 bytes
Download	[==================       ]  72%       217088 bytes
Download	[===================      ]  76%       229376 bytes
Download	[====================     ]  81%       241664 bytes
Download	[=====================    ]  85%       253952 bytes
Download	[======================   ]  89%       266240 bytes
Download	[=======================  ]  92%       274432 bytes
Download	[======================== ]  96%       286720 bytes
Download	[=========================] 100%       293840 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!

that was the message after i entered the dfu mode manually
when i just upload i get the error from above but not as a text bubble to copy

See also the post How to avoid Espressif USB JTAG/serial debug unit 303a:1001 on power up - #11 by derrickoswald which may shed some light on the problem.

Hello @derrickoswald i read your post and i understood it a little but i held the reboot button waited 3 seconds till the green light was there then i unplugged it and plugged it back in and now it works thx for that i hope there are no other issues.

nevermind it does not work

Sketch uses 335197 bytes (10%) of program storage space. Maximum is 3145728 bytes.
Global variables use 31056 bytes (9%) of dynamic memory, leaving 296624 bytes for local variables. Maximum is 327680 bytes.
"/home/gabriel/.arduino15/packages/arduino/tools/dfu-util/0.11.0-arduino5/dfu-util" --device 0x2341:0x0070 -D "/tmp/arduino/sketches/F1152D62E3F727661763E208030D7CC4/ldr-ARDUINO.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/

Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device

Download	[                         ]   0%            0 bytes
Download	[                         ]   2%         8192 bytes
Download	[=                        ]   4%        16384 bytes
Download	[==                       ]   8%        28672 bytes
Download	[===                      ]  12%        40960 bytes
Download	[====                     ]  16%        57344 bytes
Download	[=====                    ]  20%        69632 bytes
Download	[======                   ]  24%        81920 bytes
Download	[=======                  ]  28%        98304 bytes
Download	[========                 ]  32%       110592 bytes
Download	[=========                ]  36%       122880 bytes
Download	[==========               ]  41%       139264 bytes
Download	[===========              ]  44%       151552 bytes
Download	[============             ]  48%       163840 bytes
Download	[=============            ]  53%       180224 bytes
Download	[==============           ]  56%       192512 bytes
Download	[===============          ]  60%       204800 bytes
Download	[================         ]  65%       221184 bytes
Download	[=================        ]  68%       233472 bytes
Download	[==================       ]  72%       245760 bytes
Download	[===================      ]  77%       262144 bytes
Download	[====================     ]  80%       274432 bytes
Download	[=====================    ]  84%       286720 bytes
Download	[======================   ]  88%       299008 bytes
Download	[=======================  ]  92%       315392 bytes
Download	[======================== ]  96%       327680 bytes
Download	[======================== ]  98%       335568 bytes
Download	[=========================] 100%       335568 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!

now it says it has uploaded it and there is no error but an orange light is on

Hi, i was trying to respond to you in another topic about this problem and you just asked me to do something but I am unable to respond in that topic because of a restriction for new users. So I responded to you here.

this is wat it says: def/cu.usbmodem1234561
I hope you have a solution. :wink: