Skip to content

Commit 355771f

Browse files
authored
About the message "Warning: Invalid DFU suffix signature" [HC-1426] (#503)
Various improvements
1 parent 25f09d1 commit 355771f

File tree

2 files changed

+53
-15
lines changed

2 files changed

+53
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: About the "Invalid DFU suffix signature" warning from dfu-util
3+
id: 4411327110674
4+
---
5+
6+
When uploading a sketch you may see this warning in the console output:
7+
8+
```
9+
Warning: Invalid DFU suffix signature
10+
A valid DFU suffix will be required in a future dfu-util release
11+
```
12+
13+
The message is informational and **does not** indicate a failed a failed upload or error.
14+
15+
---
16+
17+
## About the warning message
18+
19+
The warning message is generated by dfu-util, a program used to upload sketches to some Arduino boards. The **DFU suffix** is a small block of data appended to the end of a firmware file that can be used to verify the firmware's integrity and compatibility with the target device.
20+
21+
While a DFU suffix is recommended by the DFU standard and might become mandatory in a future version of dfu-util, it's not currently required for successful flashing. The version of dfu-util used for sketch uploads is [defined in the Arduino board platform](https://arduino.github.io/arduino-cli/0.19/package_index_json-specification). Any future version of dfu-util would only be adopted after verifying compatibility with the board platform.
22+
23+
Currently, there is no way to prevent the warning from being displayed.
24+
25+
---
26+
27+
## How to tell if the sketch was uploaded
28+
29+
If you see the lines `Download [=========================] 100%`and `Download done`, it indicates that the sketch was uploaded to your board. This may be followed by a few lines of additional information, which can vary depending on the board. For example, a successful sketch upload to Arduino Portenta H7 completes with this console output:
30+
31+
```
32+
...
33+
Download [======================= ] 93% 147456 bytes
34+
Download [======================== ] 96% 151552 bytes
35+
Download [=========================] 100% 156956 bytes
36+
Download done.
37+
File downloaded successfully
38+
Transitioning to dfuMANIFEST state
39+
```
40+
41+
If the sketch upload fails, this will be indicated by other messages:
42+
43+
* For `Failed uploading: uploading error: exit status 74`, see [dfu-util errors when uploading (exit status 74)](https://support.arduino.cc/hc/en-us/articles/11011849739804-dfu-util-errors-when-uploading-exit-status-74).
44+
* For `Compilation error: <error description>`, see [If your sketch doesn't compile](https://support.arduino.cc/hc/en-us/articles/4402764401554-If-your-sketch-doesn-t-compile).
45+
46+
For general troubleshooting of uploads, see [If your sketch doesn't upload](https://support.arduino.cc/hc/en-us/articles/4403365313810-If-your-sketch-doesn-t-upload).
47+
48+
---
49+
50+
## Further reading
51+
52+
* [dfu-util (sourceforge.net)](https://dfu-util.sourceforge.net/)
53+
* [dfu-suffix manual](https://dfu-util.sourceforge.net/dfu-suffix.1.html)

content/Hardware Support/Portenta Family/Warning-Invalid-DFU-suffix-signature.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)