File: uisp.1.in

package info (click to toggle)
tinyos-tools 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,164 kB
  • ctags: 1,629
  • sloc: cpp: 10,398; sh: 1,229; python: 1,200; ansic: 562; makefile: 305; xml: 24
file content (200 lines) | stat: -rw-r--r-- 5,181 bytes parent folder | download | duplicates (2)
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
.TH UISP "1" "@DATE@" "uisp version @VERSION@" "User Commands"
.SH NAME
uisp \- firmware uploader for sensor nodes (motes)
.SH SYNOPSIS
.B uisp
[\fIOPTION\fR].. \fI-dprog=TYPE\fR \fI-dpart=AT90XXX\fR \fI--FUNCTION\fR.. [\fIif=SOURCE\fR] [\fIof=DEST\fR]
.SH DESCRIPTION
.IP
.SS "Programming Methods:"
\fB\-dprog\fR=avr910|pavr|stk500
.RS
.TP
avr910
Standard Atmel Serial Programmer/Atmel Low Cost Programmer
.TP
pavr
http://www.avr1.org/pavr/pavr.html
.TP
stk500
Atmel STK500
.RE
.HP
\fB\-dprog\fR=dapa|stk200|abb|avrisp|bsd|fbprg|dt006|maxi|dasa|dasa2
.RS
.TP
dapa
Direct AVR Parallel Access
.TP
stk200
Parallel Starter Kit STK200, STK300
.TP
abb
Altera ByteBlasterMV Parallel Port Download Cable
.TP
avrisp
Atmel AVR ISP (?)
.TP
bsd
http://www.bsdhome.com/avrdude/ (parallel)
.TP
fbprg
http://ln.com.ua/~real/avreal/adapters.html (parallel)
.TP
dt006
http://www.dontronics.com/dt006.html (parallel)
.TP
maxi
Investment Technologies Maxi (parallel)
.TP
dasa
serial (RESET=RTS SCK=DTR MOSI=TXD MISO=CTS)
.TP
dasa2
serial (RESET=!TXD SCK=RTS MOSI=DTR MISO=CTS)
.RE
.SS "Target Device Selection:"
.TP
\fB\-dpart\fR=part
Set target abbreviated name or number. For some programmers, if
\fB\-dpart\fR is not given programmer's supported devices are listed. Set
\fB\-dpart\fR=\fIauto\fR for auto-select. Auto-select does not work with
all programmers, so it is recommended to always specify a target device
explicitly.
.SS "Parallel Device Settings:"
.TP
\fB\-dlpt\fR=address|device name
specify device name (Linux ppdev, FreeBSD ppi, serial)
or direct I/O parallel port address (0x378, 0x278, 0x3BC)
.TP
\fB\-dno\-poll\fR
Program without data polling (a little slower)
.TP
\fB\-dno\-retry\fR
Disable retries of program enable command
.TP
\fB\-dvoltage\fR=value
Set timing specs according to the power supply voltage in [V]
(default 3.0)
.TP
\fB\-dt_sck\fR=time
Set minimum SCK high/low time in micro-seconds (default 5)
.TP
\fB\-dt_wd_flash\fR=time
Set FLASH maximum write delay time in micro-seconds
.TP
\fB\-dt_wd_eeprom\fR=time
Set EEPROM maximum write delay time in micro-seconds
.TP
\fB\-dt_reset\fR=time
Set reset inactive (high) time in micro-seconds
.TP
\fB\-dinvert\fR=[sck[,mosi[,miso[,reset]]]]]
Invert specified lines
Use \fB\-v\fR=\fI3\fR option to see current settings.
.SS "Atmel Low Cost Programmer Serial Device Settings:"
.TP
\fB\-dserial\fR=device name
Set serial interface as /dev/ttyS* (default /dev/avr)
.TP
\fB\-dspeed\fR=1200|2400|4800|9600|19200|38400|57600|115200
Set speed of the serial interface (default 19200)
.SS "Stk500 specific options:"
.TP
\fB\-dparallel\fR
Use Hi-V parallel programming instead of serial (default is serial)
.TP
\fB\-\-rd_aref\fR
Read the ARef Voltage. Note that due to a bug in the stk500 firmware, the read
value is sometimes off by 0.1 from the actual value measured with a volt meter.
.TP
\fB\-\-rd_vtg\fR
Read the Vtarget Voltage. Note that due to a bug in the stk500 firmware, the
read value is sometimes off by 0.1 from the actual value measured with a volt
meter.
.TP
\fB\-\-wr_aref\fR=value
Set the ARef Voltage. Valid values are 0.0 to 6.0 volts in 0.1 volt increments.
Value can not be larger than the VTarget value.
.TP
\fB\-\-wr_vtg\fR=value
Set the VTarget Voltage. Valid values are 0.0 to 6.0 volts in 0.1 volt
increments.  Value can not be smaller than the ARef value.
.SS "Functions:"
.TP
\fB\-\-upload\fR
Upload "input_file" to the AVR memory.
.TP
\fB\-\-verify\fR
Verify "input_file" (processed after the \fB\-\-upload\fR opt.)
.TP
\fB\-\-download\fR
Download AVR memory to "output_file" or stdout.
.TP
\fB\-\-erase\fR
Erase device.
.TP
\fB\-\-segment\fR=flash|eeprom|fuse
Set active segment (auto-select for AVA Motorola output)
.SS "Fuse/Lock Bit Operations:"
.TP
\fB\-\-rd_fuses\fR
Read all fuses and print values to stdout
.TP
\fB\-\-wr_fuse_l\fR=byte
Write fuse low byte
.TP
\fB\-\-wr_fuse_h\fR=byte
Write fuse high byte
.TP
\fB\-\-wr_fuse_e\fR=byte
Write fuse extended byte
.TP
\fB\-\-wr_lock\fR=byte
Write lock bits. Argument is a byte where each bit is:
 Bit5 -> blb12
 Bit4 -> blb11
 Bit3 -> blb02
 Bit2 -> blb01
 Bit1 -> lb2
 Bit0 -> lb1
.TP
\fB\-\-lock\fR
Write lock bits [old method; deprecated].
.SS "Files:"
.TP
\fBif\fR=filename
Input file for the \fB\-\-upload\fR and \fB\-\-verify\fR functions in
Motorola S-records (S1 or S2) or 16 bit Intel format
.TP
\fBof\fR=filename
Output file for the \fB\-\-download\fR function in
Motorola S-records format, default is standard output
.SS "Other Options:"
.TP
\fB\-v\fR=level
Set verbose level (-v equals \fB\-v\fR=\fI2\fR, min/max: 0/4, default 1)
.TP
\fB\-\-hash\fR=perbytes
Print hash (default is 32 bytes)
.TP
\fB\-\-help\fR \fB\-h\fR
Help
.TP
\fB\-\-version\fR
Print version information
.TP
\fB\-\-terminal\fR
Invoke shell-like terminal
.SH "AUTHOR"
Written by Uros Platise.
.SH "REPORTING BUGS"
Report bugs to <uisp-dev@nongnu.org>
.SH "SEE ALSO"
http://savannah.nongnu.org/download/uisp/
.SH "COPYRIGHT"
(c) 1997-1999 Uros Platise, 2000-2003 Marek Michalkiewicz
.PP
uisp is free software, covered by the GNU General Public License.  You are
welcome to change it and/or distribute copies of it under the conditions of
the GNU General Public License.