1DFU-PREFIX(1) DFU-PREFIX(1)
2
3
4
6 dfu-prefix - add, check, or remove special firmware file prefix
7
9 dfu-prefix [ -s address | -L ] --add DFU_FILE
10 dfu-prefix [ -T | -L ] --check DFU_FILE
11 dfu-prefix [ -T | -L ] --delete DFU_FILE
12 dfu-prefix --help
13 dfu-prefix --version
14
16 The program dfu-prefix can be used to add, check or remove a prefix
17 used by certain hardware manufacturers. The Stellaris format from TI
18 and the LPC format from NXP is supported.
19
20 Note that a standard DFU firmware file has no concept of a prefix, and
21 a DFU host tool like dfu-util passes the prefix on to the device as
22 part of the normal firmware payload.
23
25 -s, --stellaris-address address
26 (in combination with --add) Add TI Stellaris address prefix to
27 file
28
29 -T, --stellaris
30 (in combination with --delete or --check) Act on TI Stellaris
31 address prefix of file
32
33 -L, --lpc-prefix
34 (in combination with --add or --delete or --check) Use NXP LPC
35 DFU prefix format
36
37 -h, --help
38 Displays a help message.
39
40 -V, --version
41 Displays the software version.
42
44 dfu-prefix --stellaris-address 0x0100 --add firmware.dfu
45 Adds a Stellaris prefix with load address 0x0100
46
47 dfu-prefix --stellaris --check firmware.dfu
48 Checks the file firmware.dfu for a Stellaris prefix
49
50 dfu-prefix --lpc-prefix --delete firmware.dfu
51 Removes a LPC prefix from the file firmware.dfu
52
54 0 Success (also if prefix is missing)
55
56 -64 Usage error
57
59 https://sourceforge.net/p/dfu-util/tickets/
60
62 License GPLv2: GNU GPL version 2
63
65 dfu-suffix(1), dfu-util(1)
66
68 See AUTHORS file in source.
69
70
71
72dfu-prefix 0.10 November 2020 DFU-PREFIX(1)