Skip to content

Commit 31e6e7a

Browse files
authored
[HC-1654] Additional troubleshooting for LIBUSB errors (#499)
Additional troubleshooting for LIBUSB errors dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_NOT_FOUND) dfu-util: Error during download get_status (LIBUSB_ERROR_PIPE)
1 parent c18a66b commit 31e6e7a

File tree

1 file changed

+50
-3
lines changed

1 file changed

+50
-3
lines changed

content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ In this article:
1313
* [`Failed uploading: uploading error: exit status 74`](#exit-status-74)
1414
* [`dfu-util: No DFU capable USB device available`](#no-dfu-capable-usb-device-available)
1515
* [`dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`](#libusb-error-access)
16+
* [`dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_NOT_FOUND)`](#dfu-util-cannot-open-dfu-device-{vid}{pid}-found-on-devnum-{n}-libusberrornotfound)
17+
* [`dfu-util: Error during download get_status (LIBUSB_ERROR_PIPE)`](dfu-util-error-during-download-getstatus-libusberrorpipe)
1618
* [`dfu-util: More than one DFU capable USB device found!`](#more-than-one-dfu-capable-usb-device)
1719
* [`Warning: Invalid DFU suffix signature`](#invalid-dfu-suffix-signature)
1820

@@ -44,11 +46,56 @@ Follow these steps to resolve the error:
4446

4547
## `dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`
4648

47-
The message varies depending on the board you are using.
48-
4949
On Linux, this error can be caused by missing udev rules (This is more likely to be the cause if the error appears on the first time you're uploading from the system).
5050

51-
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux">Fix udev rules on Linux</a>
51+
<a class="link-chevron-right" href="https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux">Fix udev rules on Linux</a>
52+
53+
---
54+
55+
<a id="dfu-util-cannot-open-dfu-device-{vid}{pid}-found-on-devnum-{n}-libusberrornotfound"></a>
56+
57+
## `dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_NOT_FOUND)`
58+
59+
This error can be caused by missing drivers.
60+
61+
You may have missing drivers if:
62+
63+
* You have only used your board with Arduino Cloud. While Arduino IDE automatically installs required drivers when installing the board platform, this doesn't happen if you use Arduino Cloud.
64+
* The driver installation was blocked by User Account Control (Windows).
65+
66+
Try this:
67+
68+
1. If you don’t have it yet, [install Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360019833020-Download-and-install-Arduino-IDE).
69+
70+
2. In Arduino IDE, go to Tools > Board > Boards Manager.
71+
72+
3. Find the board package by searching for your board's name. If you need help, see [
73+
Add boards to Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360016119519-Add-boards-to-Arduino-IDE).
74+
75+
4. Install the board package. If it's already installed, [uninstall it](https://support.arduino.cc/hc/en-us/articles/4407225360018-Uninstall-boards-from-Arduino-IDE) first.
76+
77+
5. If prompted, approve the installation of "dpinst-amd64.exe" and other drivers by clicking Yes on the pop-up.
78+
79+
6. Wait for the "Successfully installed platform" message.
80+
81+
<!-- https://forum.arduino.cc/t/error-no-dfu-capable-usb-device-available/1321727/3 -->
82+
83+
---
84+
85+
<a id="dfu-util-error-during-download-getstatus-libusberrorpipe"></a>
86+
87+
## `dfu-util: Error during download get_status (LIBUSB_ERROR_PIPE)`
88+
89+
When uploading a sketch, you may see this error:
90+
91+
```
92+
dfu-util: Error during download get_status (LIBUSB_ERROR_PIPE)
93+
```
94+
95+
Follow these steps:
96+
97+
1. Ensure your board is firmly connected using a working USB cable.
98+
2. Close other applications that may be blocking or interrupting the upload, such as other instances of Arduino IDE or Arduino Cloud, port monitoring tools, or other development tools that may be using the port.
5299

53100
---
54101

0 commit comments

Comments
 (0)