Debian Codegraph @

doc/dfu-suffix.1.md

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