1PIKLAB(SECTION) PIKLAB(SECTION)
2
3
4
7 piklab-prog [Qt-options] [KDE-options] [options] [file]
8
9
11 This manual page documents briefly the piklab-prog command.
12
13 Piklab-prog is a command line tool, which can be used to program micro‐
14 controllers with program and data, stored in a HEX-file to a connected
15 programmer. It supports the most common serial, parallel and usb pro‐
16 grammers, like ICD2, Pickit2, PicStart+) and debuggers (ICD2).
17
18
20 This program follows the usual GNU command line syntax, with long
21 options starting with two dashes (`-'). A summary of options is
22 included below.
23
24 -h, --help
25 Show summary of options.
26
27 -v, --version
28 Show version of program.
29
30 --help-qt
31 Show Qt specific options
32
33 --help-kde
34 Show KDE specific options
35
36 --help-all
37 Show all options
38
39 --author
40 Show author information
41
42 --license
43 Show license information
44
45 -- End of options
46 Options: -c, --command <name> Perform the requested com‐
47 mand.
48
49 --command-list
50 Return the list of recognized commands.
51
52 --debug
53 Display debug messages.
54
55 --extra-debug
56 Display extra debug messages.
57
58 --max-debug
59 Display all debug messages.
60
61 --quiet
62 Do not display messages.
63
64 -f, --force
65 Overwrite files and answer "yes" to questions.
66
67 -i, --cli
68 Interactive mode
69
70 -r, --range <name>
71 Memory range to operate on.
72
73 --range-list
74 Return the list of memory ranges.
75
76 -p, --programmer <name>
77 Programmer to use.
78
79 --programmer-list
80 Return the list of supported programmers.
81
82 -d, --device <name>
83 Target device.
84
85 --device-list
86 Return the list of supported devices.
87
88 -f, --format <name>
89 HEX output file format.
90
91 --format-list
92 Return the list of supported HEX file formats.
93
94 -t, --port <name>
95 Programmer port ("usb" or device such as "/dev/ttyS0")
96
97 --port-list
98 Return the list of detected ports.
99
100 --firmware-dir <dir>
101 Firmware directory.
102
103 --target-self-powered
104 Indicates that device is self-powered.
105
107 file <HEX-filename for programming>.
108
109
110
112 piklab-prog(1), piklab-hex(1), gputils(1), sdcc(1).
113
115 piklab was written by Nicolas Hadacek and many others, including:
116
117 * Alain Gibaud: author of Pikdev; main infrastructure; IDE inter‐
118 face; direct programmers; gputils integration.
119
120 * Keith Baker: direct programmer support for 16F7X devices.
121 * Xiaofan Chen: numerous tests of PICkit1/2 and ICD2 programmers.
122 * Craig Franklin: author of gputils (disassembler and coff parser).
123 * Manwlis Giannos: direct programmer support for PIC18FXX2/FXX8
124 devices.
125 * Stephen Landamore: author of LPLAB (microchip command-line pro‐
126 grammer).
127 * Brian C. Lane: original code for direct programming.
128 * Sébastion Laoût: author of Likeback.
129 * Nestor A. Marchesini: tests of PicStart+ programmer.
130 * Lorenz Mösenlechner and Matthias Kranz: USB support for ICD2 pro‐
131 grammer.
132 * Mirko Panciri: direct programmers with bidirectionnal buffers.
133 * Sean A. Walberg: direct programmer support for 16F676/630
134 devices.
135
136 Translations:
137 * Michele Petrecca: Italian translation.
138 * Alain Portal: French translation.
139 * Stefan von Halenbach: German translation.
140 * Nagy Lázló: Hungarian translation.
141
142
143
145 This is free software. You may redistribute copies of it
146 under the terms of the GNU General Public License
147 <http://www.gnu.org/licenses/gpl.html>. There is NO WAR‐
148 RANTY, to the extent permitted by law.
149
150
151 This manual page was written by Stefan <vonHalenbach@users.sf.net>, for
152 the Debian project (but may be used by others).
153
154
155
156 April 11, 2007 PIKLAB(SECTION)