Debian Codegraph @

doc/dfu-suffix.1

raw
1 .\" Automatically generated by Pandoc 2.5
2 .\"
3 .TH "DFU\-SUFFIX" "1" "September 2021" "dfu\-util 0.11" ""
4 .hy
5 .SH NAME
6 .PP
7 dfu\-suffix \- add, check, or remove DFU firmware file suffix
8 .SH SYNOPSIS
9 .PP
10 \f[B]dfu\-suffix\f[R] [\f[I]options\f[R]] \f[B]\-\-add\f[R]
11 \f[I]DFU_FILE\f[R]
12 .PD 0
13 .P
14 .PD
15 \f[B]dfu\-suffix\f[R] \f[B]\-\-check\f[R] \f[I]DFU_FILE\f[R]
16 .PD 0
17 .P
18 .PD
19 \f[B]dfu\-suffix\f[R] \f[B]\-\-delete\f[R] \f[I]DFU_FILE\f[R]
20 .PD 0
21 .P
22 .PD
23 \f[B]dfu\-suffix\f[R] \f[B]\-\-help\f[R]
24 .PD 0
25 .P
26 .PD
27 \f[B]dfu\-suffix\f[R] \f[B]\-\-version\f[R]
28 .SH DESCRIPTION
29 .PP
30 The program \f[B]dfu\-suffix\f[R] can be used to add, check or remove a
31 DFU firmware file suffix, recommended for safely matching a firmware
32 file and device.
33 .PP
34 Note that a suffix is recommended by the DFU standard, but not required.
35 A DFU host tool like dfu\-util will recognize the suffix and use it to
36 check that the device is matching, but not transfer the suffix to the
37 device.
38 .SH OPTIONS
39 .TP
40 .B \-v, \-\-vid \f[I]vendorID\f[R]
41 Specify USB vendor ID (hexadecimal)
42 .TP
43 .B \-p, \-\-pid \f[I]productID\f[R]
44 Specify USB product ID (hexadecimal)
45 .TP
46 .B \-d, \-\-did \f[I]deviceID\f[R]
47 Specify USB device ID (hexadecimal)
48 .TP
49 .B \-S, \-\-spec \f[I]version\f[R]
50 Specify DFU specification version (hexadecimal)
51 .TP
52 .B \-h, \-\-help
53 Displays a help message.
54 .TP
55 .B \-V, \-\-version
56 Displays the software version.
57 .SH EXAMPLES
58 .TP
59 .B \f[B]dfu\-suffix\f[R] \-\-vid 0123 \-\-add firmware.dfu
60 Adds a suffix matching vendor 0x0123 and product ID 0x4567.
61 Since product and device ID are not specified, they will contain the
62 wildcard value 0xFFFF.
63 .TP
64 .B \f[B]dfu\-suffix\f[R] \-\-check firmware.dfu
65 Checks the file firmware.dfu for a valid DFU suffix
66 .TP
67 .B \f[B]dfu\-suffix\f[R] \-\-delete firmware.dfu
68 Removes a valid DFU suffix from the file firmware.dfu
69 .SH EXIT VALUES
70 .TP
71 .B \f[B]0\f[R]
72 Success (also if suffix is missing)
73 .TP
74 .B \f[B]\-64\f[R]
75 Usage error
76 .SH LIMITATIONS
77 .PP
78 \f[B]dfu\-suffix\f[R] can not tell a broken DFU suffix (e.g.\ checksum
79 mismatch) from a non\-existing suffix, so only a valid suffix can be
80 removed.
81 .SH BUGS
82 .PP
83 https://sourceforge.net/p/dfu\-util/tickets/
84 .SH COPYRIGHT
85 .PP
86 License GPLv2: GNU GPL version 2
87 .SH SEE ALSO
88 .PP
89 \f[B]dfu\-prefix\f[R](1), \f[B]dfu\-util\f[R](1)
90 .SH AUTHORS
91 See AUTHORS file in source.