Debian Codegraph @

doc/dfu-prefix.1

raw
1 .\" Automatically generated by Pandoc 2.5
2 .\"
3 .TH "DFU\-PREFIX" "1" "September 2021" "dfu\-util 0.11" ""
4 .hy
5 .SH NAME
6 .PP
7 dfu\-prefix \- add, check, or remove special firmware file prefix
8 .SH SYNOPSIS
9 .PP
10 \f[B]dfu\-prefix\f[R] [ \f[B]\-s\f[R] \f[I]address\f[R] | \f[B]\-L\f[R]
11 ] \f[B]\-\-add\f[R] \f[I]DFU_FILE\f[R]
12 .PD 0
13 .P
14 .PD
15 \f[B]dfu\-prefix\f[R] [ \f[B]\-T\f[R] | \f[B]\-L\f[R] ]
16 \f[B]\-\-check\f[R] \f[I]DFU_FILE\f[R]
17 .PD 0
18 .P
19 .PD
20 \f[B]dfu\-prefix\f[R] [ \f[B]\-T\f[R] | \f[B]\-L\f[R] ]
21 \f[B]\-\-delete\f[R] \f[I]DFU_FILE\f[R]
22 .PD 0
23 .P
24 .PD
25 \f[B]dfu\-prefix\f[R] \f[B]\-\-help\f[R]
26 .PD 0
27 .P
28 .PD
29 \f[B]dfu\-prefix\f[R] \f[B]\-\-version\f[R]
30 .SH DESCRIPTION
31 .PP
32 The program \f[B]dfu\-prefix\f[R] can be used to add, check or remove a
33 prefix used by certain hardware manufacturers.
34 The Stellaris format from TI and the LPC format from NXP is supported.
35 .PP
36 Note that a standard DFU firmware file has no concept of a prefix, and a
37 DFU host tool like dfu\-util passes the prefix on to the device as part
38 of the normal firmware payload.
39 .SH OPTIONS
40 .TP
41 .B \-s, \-\-stellaris\-address \f[I]address\f[R]
42 (in combination with \-\-add) Add TI Stellaris address prefix to file
43 .TP
44 .B \-T, \-\-stellaris
45 (in combination with \-\-delete or \-\-check) Act on TI Stellaris
46 address prefix of file
47 .TP
48 .B \-L, \-\-lpc\-prefix
49 (in combination with \-\-add or \-\-delete or \-\-check) Use NXP LPC DFU
50 prefix format
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\-prefix\f[R] \-\-stellaris\-address 0x0100 \-\-add firmware.dfu
60 Adds a Stellaris prefix with load address 0x0100
61 .TP
62 .B \f[B]dfu\-prefix\f[R] \-\-stellaris \-\-check firmware.dfu
63 Checks the file firmware.dfu for a Stellaris prefix
64 .TP
65 .B \f[B]dfu\-prefix\f[R] \-\-lpc\-prefix \-\-delete firmware.dfu
66 Removes a LPC prefix from the file firmware.dfu
67 .SH EXIT VALUES
68 .TP
69 .B \f[B]0\f[R]
70 Success (also if prefix is missing)
71 .TP
72 .B \f[B]\-64\f[R]
73 Usage error
74 .SH BUGS
75 .PP
76 https://sourceforge.net/p/dfu\-util/tickets/
77 .SH COPYRIGHT
78 .PP
79 License GPLv2: GNU GPL version 2
80 .SH SEE ALSO
81 .PP
82 \f[B]dfu\-suffix\f[R](1), \f[B]dfu\-util\f[R](1)
83 .SH AUTHORS
84 See AUTHORS file in source.