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