1MINIPRO(1) General Commands Manual MINIPRO(1)
2
3
4
6 minipro - programs various chips using the Minipro TL866XX series of
7 programmers.
8
10 minipro -l | [-p device] [-c code|data|config] [-r|-w filename]
11 [-e][-u][-P][-i|-I][-v][-s|-S][-y][-h]
12
13 miniprohex [-p device] [-c code|data|config] [-r|-w filename]
14 [-e][-u][-P][-i|-I]
15
16
18 minipro is an Open Source tool intended to become a complete cross-
19 platform replacement for the proprietary utility from Autoelectric.
20 Currently it supports more than 13000 of target devices - including
21 AVRs, PICs as well as a huge number of other microcontrollers and vari‐
22 ous memory chips.
23
24
25
27 -l Get a list of supported devices.
28
29
30 -L <search>
31 List devices beginning with this string.
32
33
34 -d <device>
35 Show device information.
36
37
38 -D Just read the chip ID and do nothing else (like reading the
39 whole chip contents). This is for use in scripts where you have
40 for example several similar chips with different IDs and want to
41 check if the currently inserted chip is one in your list of
42 allowed ones. Also useful to detect if a chip is inserted at all
43 when using the -y option.
44
45
46 -p <device>
47 Specify the device name. If the desired device name contains a
48 space, parenthesis, or at sign; the device name MUST be sur‐
49 rounded by quotes.
50
51
52 -c <type>
53 Optionally specify memory type. Possible values include "code",
54 "data", and "config". The "config" memory type is used to access
55 fuses, see FUSES below.
56
57
58 -r <filename>
59 Read from the device and write the contents to this file.
60
61
62 -w <filename>
63 Write to the device using this file.
64
65
66 -e Do NOT erase device.
67
68
69 -u Do NOT disable write-protect.
70
71
72 -P Do NOT enable write-protect.
73
74
75 -v Do NOT verify after write.
76
77
78 -i Use ICSP.
79
80
81 -I Use ICSP (without enabling Vcc).
82
83
84 -s Do NOT error on file size mismatch (only a warning).
85
86
87 -S No warning message for file size mismatch (can't combine with
88 -s).
89
90
91 -x Do NOT attempt to read ID (only valid in read mode). Avoids
92 sending high Chip ID read voltages to unknown pins.
93
94
95 -y Do NOT error on ID mismatch.
96
97
98 -h Show help and quit.
99
100
102 If -c is omitted and -r is specified then the code, data (if applica‐
103 ble) and config (if applicable) will be written to filename.$ext, file‐
104 name.eeprom.bin and filename.fuses.conf correspondingly. If -c is omit‐
105 ted and -w is specified, then -c code is assumed.
106
107 The -i and -I options enable use of ICSP port for TL866A models. The
108 former enables the voltage supply on the Vcc pin of the ICSP port while
109 the latter leaves it off. These options are of no use for the TL866CS.
110
111 The Minipro TL866xx series of chip programmers is distributed by Auto‐
112 electric. Their website is http://www.autoelectric.cn.
113
114
116 Fuses can be read and written with the -c config option. Fuse data is
117 exchanged in a text format. When writing fuses all fuses on your device
118 must be assigned a value. To see what fuses are supported by your
119 device use -r with -c config to get your current fuse values. This also
120 shows you what the text format looks like.
121
122
124 minipro was written by Valentin Dudouyt and is copyright 2014. Many
125 others have contributed code and bug reports.
126
127
129 The canonical repository for minipro is at Github:
130 https://github.com/vdudouyt/minipro
131 It is distributed under the GNU General Public License version 2 or (at
132 your option) any later version.
133 http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
134 This software is offered as-is with no warranty or liability. If you
135 find a bug or would like minipro to do something it doesn't currently
136 do, please visit the above Github website and report your concerns.
137
138
139
140 14 August 2018 (v0.3) MINIPRO(1)