You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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)
Copy file name to clipboardExpand all lines: content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
+50-3Lines changed: 50 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ In this article:
13
13
*[`Failed uploading: uploading error: exit status 74`](#exit-status-74)
14
14
*[`dfu-util: No DFU capable USB device available`](#no-dfu-capable-usb-device-available)
15
15
*[`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)
16
18
*[`dfu-util: More than one DFU capable USB device found!`](#more-than-one-dfu-capable-usb-device)
@@ -44,11 +46,56 @@ Follow these steps to resolve the error:
44
46
45
47
## `dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`
46
48
47
-
The message varies depending on the board you are using.
48
-
49
49
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).
50
50
51
-
<aclass="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
+
<aclass="link-chevron-right"href="https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux">Fix udev rules on Linux</a>
## `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.
## `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.
0 commit comments