From 2d9e33f598b7b968f393d8a71d542187137dfe54 Mon Sep 17 00:00:00 2001
From: seaxwi <71350948+seaxwi@users.noreply.github.com>
Date: Thu, 12 Oct 2023 16:31:57 +0200
Subject: [PATCH 1/3] Create dfu-util-errors-when-uploading-exit-status-74.md
---
...il-errors-when-uploading-exit-status-74.md | 85 +++++++++++++++++++
1 file changed, 85 insertions(+)
create mode 100644 content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
diff --git a/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
new file mode 100644
index 00000000..de5151fd
--- /dev/null
+++ b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
@@ -0,0 +1,85 @@
+---
+title: "dfu-util errors when uploading (exit status 74)"
+---
+
+Many Arduino boards use the **dfu-util** utility to upload sketches to the board. Some of these include:
+
+* Arduion UNO R4 Minima
+* Arduino GIGA R1 WiFi
+
+In this article:
+
+* [`Failed uploading: uploading error: exit status 74`](#exit-status-74)
+* [`dfu-util: No DFU capable USB device available`](#no-dfu-capable-usb-device-available)
+* [`dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`](#libusb-error-access)
+* [`dfu-util: More than one DFU capable USB device found!`](#more-than-one-dfu-capable-usb-device)
+* [`Warning: Invalid DFU suffix signature`](#invalid-dfu-suffix-signature)
+
+---
+
+
+
+## `Failed uploading: uploading error: exit status 74`
+
+When an upload fails, you may see the message `Failed uploading: uploading error: exit status 74`. This is a generic message indicating that the upload process has failed. The exit status code (47) is used by the dfu-util upload utility.
+
+
+
+---
+
+
+
+## `dfu-util: No DFU capable USB device available`
+
+This message indicates that no USB devices supporting the DFU upload protocol were found by dfu-util.
+
+Follow these steps:
+
+1. Make sure you have the right board selected in the board selector, or the **Tools > Board** menu. If you're unsure about which board you should use, see [Select board and port in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE).
+
+2. Make sure the device you're using is properly connected with a working USB data cable. Try using a different USB cable, and avoid using USB hubs if possible.
+
+---
+
+
+
+## `dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`
+
+The message varies depending on the board.
+
+On Linux, this error can be caused by missing udev rules. This is more likely to be the cause if the error the first time you're uploading from the system.
+
+ Fix udev rules on Linux
+
+---
+
+
+
+## `dfu-util: More than one DFU capable USB device found!`
+
+When uploading a sketch, you may see this error:
+
+```
+dfu-util: More than one DFU capable USB device found! Try `--list' and specify the serial number or disconnect all but one device
+```
+
+To resolve the error, disconnect any extra boards or dfu capable devices you have connected to your computer.
+
+> **Note:** The port selection is not considered when dfu-util is used for uploading the sketch.
+
+---
+
+
+
+## `Warning: Invalid DFU suffix signature`
+
+When uploading a sketch to you may receive this warning in the console:
+
+```
+Warning: Invalid DFU suffix signature
+A valid DFU suffix will be required in a future dfu-util release
+```
+
+This warning is expected, and does not indicate a problem. The warning is only displayed if [verbose output is enabled](https://support.arduino.cc/hc/en-us/articles/4407705216274) in Preferences. If no other warnings or errors appears in the output, the sketch was most likely uploaded successfully.
+
+
From a2f76d1acb63d7f5e68183698c904236b39d3627 Mon Sep 17 00:00:00 2001
From: Renat0Ribeir0
Date: Thu, 26 Oct 2023 11:21:04 +0200
Subject: [PATCH 2/3] Update "exit status 74" section
---
.../Upload/dfu-util-errors-when-uploading-exit-status-74.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
index de5151fd..bcf2a6a2 100644
--- a/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
+++ b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
@@ -4,7 +4,7 @@ title: "dfu-util errors when uploading (exit status 74)"
Many Arduino boards use the **dfu-util** utility to upload sketches to the board. Some of these include:
-* Arduion UNO R4 Minima
+* Arduino UNO R4 Minima
* Arduino GIGA R1 WiFi
In this article:
@@ -21,7 +21,7 @@ In this article:
## `Failed uploading: uploading error: exit status 74`
-When an upload fails, you may see the message `Failed uploading: uploading error: exit status 74`. This is a generic message indicating that the upload process has failed. The exit status code (47) is used by the dfu-util upload utility.
+When an upload fails, you may see the message `Failed uploading: uploading error: exit status 74`. This is a generic message indicating that the upload process has failed. The specific exit status code (74) is used by the dfu-util upload utility. To understand the issue, always review the messages that appear before this notification, as they offer more detailed context about the failure.
From 52dc11d5103294fa20cc3723408da2b2e10c1f31 Mon Sep 17 00:00:00 2001
From: Renat0Ribeir0
Date: Thu, 26 Oct 2023 14:55:05 +0200
Subject: [PATCH 3/3] Update dfu-util-errors-when-uploading-exit-status-74.md
---
...-util-errors-when-uploading-exit-status-74.md | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
index bcf2a6a2..a4953042 100644
--- a/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
+++ b/content/Software Support/Upload/dfu-util-errors-when-uploading-exit-status-74.md
@@ -23,8 +23,6 @@ In this article:
When an upload fails, you may see the message `Failed uploading: uploading error: exit status 74`. This is a generic message indicating that the upload process has failed. The specific exit status code (74) is used by the dfu-util upload utility. To understand the issue, always review the messages that appear before this notification, as they offer more detailed context about the failure.
-
-
---
@@ -33,7 +31,7 @@ When an upload fails, you may see the message `Failed uploading: uploading error
This message indicates that no USB devices supporting the DFU upload protocol were found by dfu-util.
-Follow these steps:
+Follow these steps to resolve the error:
1. Make sure you have the right board selected in the board selector, or the **Tools > Board** menu. If you're unsure about which board you should use, see [Select board and port in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE).
@@ -45,11 +43,11 @@ Follow these steps:
## `dfu-util: Cannot open DFU device {vid}:{pid} found on devnum {n} (LIBUSB_ERROR_ACCESS)`
-The message varies depending on the board.
+The message varies depending on the board you are using.
-On Linux, this error can be caused by missing udev rules. This is more likely to be the cause if the error the first time you're uploading from the system.
+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).
- Fix udev rules on Linux
+ Fix udev rules on Linux
---
@@ -71,15 +69,15 @@ To resolve the error, disconnect any extra boards or dfu capable devices you hav
-## `Warning: Invalid DFU suffix signature`
+## `Warning: Invalid DFU suffix signature`
-When uploading a sketch to you may receive this warning in the console:
+When uploading a sketch, you may receive this warning in the console:
```
Warning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
```
-This warning is expected, and does not indicate a problem. The warning is only displayed if [verbose output is enabled](https://support.arduino.cc/hc/en-us/articles/4407705216274) in Preferences. If no other warnings or errors appears in the output, the sketch was most likely uploaded successfully.
+This warning is expected and does not indicate a problem. It is only displayed if [verbose output is enabled](https://support.arduino.cc/hc/en-us/articles/4407705216274) in Preferences. If there are no other warnings or errors in the output, the sketch most likely **uploaded successfully**.