1UISP(1) User Commands UISP(1)
2
3
4
6 uisp - manual page for uisp
7
9 uisp [OPTION].. -dprog=TYPE -dpart=AT90XXX --FUNCTION.. [if=SOURCE]
10 [of=DEST]
11
13 Programming Methods:
14 -dprog=avr910|pavr|stk500
15
16 avr910 Standard Atmel Serial Programmer/Atmel Low Cost Program‐
17 mer
18
19 pavr http://www.avr1.org/pavr/pavr.html
20
21 stk500 Atmel STK500
22
23 -dprog=dapa|stk200|abb|atdh|avrisp|bsd|fbprg|dt006|maxi|dm04|dasa|dasa2|dasa3
24
25 dapa Direct AVR Parallel Access
26
27 stk200 Parallel Starter Kit STK200, STK300
28
29 abb Altera ByteBlasterMV Parallel Port Download Cable
30
31 atdh Atmel-ISP Download Cable (P/N ATDH1150VPC)
32
33 avrisp Atmel AVR ISP (?)
34
35 bsd http://www.bsdhome.com/avrdude/ (parallel)
36
37 fbprg http://ln.com.ua/~real/avreal/adapters.html (parallel)
38
39 dt006 http://www.dontronics.com/dt006.html (parallel)
40
41 maxi Investment Technologies Maxi (parallel)
42
43 dm04 Datamekatronik 2004 (parallel)
44
45 dasa serial (RESET=RTS SCK=DTR MOSI=TXD MISO=CTS)
46
47 dasa2 serial (RESET=!TXD SCK=RTS MOSI=DTR MISO=CTS)
48
49 dasa3 serial (RESET=!DTR SCK=RTS MOSI=TXD MISO=CTS)
50
51 Target Device Selection:
52 -dpart=part
53 Set target abbreviated name or number. For some programmers, if
54 -dpart is not given programmer's supported devices are listed.
55 Set -dpart=auto for auto-select. Auto-select does not work with
56 all programmers, so it is recommended to always specify a target
57 device explicitly.
58
59 Parallel Device Settings:
60 -dlpt=address|device name
61 specify device name (Linux ppdev, FreeBSD ppi, serial) or direct
62 I/O parallel port address (0x378, 0x278, 0x3BC)
63
64 -dno-poll
65 Program without data polling (a little slower)
66
67 -dno-retry
68 Disable retries of program enable command
69
70 -dvoltage=value
71 Set timing specs according to the power supply voltage in [V]
72 (default 3.0)
73
74 -dt_sck=time
75 Set minimum SCK high/low time in micro-seconds (default 5)
76
77 -dt_wd_flash=time
78 Set FLASH maximum write delay time in micro-seconds
79
80 -dt_wd_eeprom=time
81 Set EEPROM maximum write delay time in micro-seconds
82
83 -dt_reset=time
84 Set reset inactive (high) time in micro-seconds
85
86 -dinvert=[sck[,mosi[,miso[,reset]]]]]
87 Invert specified lines Use -v=3 option to see current settings.
88
89 -d89 Allow parallel programming of AT89S51 and AT89S52 devices.
90
91 Atmel Low Cost Programmer Serial Device Settings:
92 -dserial=device name
93 Set serial interface as /dev/ttyS* (default /dev/avr)
94
95 -dspeed=1200|2400|4800|9600|19200|38400|57600|115200
96 Set speed of the serial interface (default 19200)
97
98 Stk500 specific options:
99 -dhiv Use Hi-V programming instead of SPI (default is SPI).
100
101 --rd_aref
102 Read the ARef Voltage. Note that due to a bug in the stk500
103 firmware, the read value is sometimes off by 0.1 from the actual
104 value measured with a volt meter.
105
106 --wr_aref=value
107 Set the ARef Voltage. Valid values are 0.0 to 6.0 volts in 0.1
108 volt increments. Value can not be larger than the VTarget
109 value.
110
111 --rd_vtg
112 Read the Vtarget Voltage. Note that due to a bug in the stk500
113 firmware, the read value is sometimes off by 0.1 from the actual
114 value measured with a volt meter.
115
116 --wr_vtg=value
117 Set the VTarget Voltage. Valid values are 0.0 to 6.0 volts in
118 0.1 volt increments. Value can not be smaller than the ARef
119 value.
120
121 --rd_osc
122 Read the oscillator frequency in Hertz.
123
124 --wr_osc=value
125 Set the oscillator frequency in Hertz, from 14.06 to 3686400.
126
127 Functions:
128 --upload
129 Upload "input_file" to the AVR memory.
130
131 --verify
132 Verify "input_file" (processed after the --upload opt.)
133
134 --download
135 Download AVR memory to "output_file" or stdout.
136
137 --erase
138 Erase device.
139
140 --segment=flash|eeprom|fuse
141 Set active segment (auto-select for AVA Motorola output)
142
143 Fuse/Lock Bit Operations:
144 --rd_fuses
145 Read all fuses and print values to stdout
146
147 --wr_fuse_l=byte
148 Write fuse low byte
149
150 --wr_fuse_h=byte
151 Write fuse high byte
152
153 --wr_fuse_e=byte
154 Write fuse extended byte
155
156 --wr_lock=byte
157 Write lock bits. Argument is a byte where each bit is:
158 Bit5 -> blb12
159 Bit4 -> blb11
160 Bit3 -> blb02
161 Bit2 -> blb01
162 Bit1 -> lb2
163 Bit0 -> lb1
164
165 --lock Write lock bits [old method; deprecated].
166
167 Files:
168 if=filename
169 Input file for the --upload and --verify functions in Motorola
170 S-records (S1 or S2) or 16 bit Intel format
171
172 of=filename
173 Output file for the --download function in Motorola S-records
174 format, default is standard output
175
176 Other Options:
177 -v=level
178 Set verbose level (-v equals -v=2, min/max: 0/4, default 1)
179
180 --hash=perbytes
181 Print hash (default is 32 bytes)
182
183 --help -h
184 Help
185
186 --version
187 Print version information
188
189 --terminal
190 Invoke shell-like terminal
191
193 Written by Uros Platise.
194
196 Report bugs to <uisp-dev@nongnu.org>
197
199 http://savannah.nongnu.org/download/uisp/
200
202 (c) 1997-1999 Uros Platise, 2000-2004 Marek Michalkiewicz
203
204 uisp is free software, covered by the GNU General Public License. You
205 are welcome to change it and/or distribute copies of it under the con‐
206 ditions of the GNU General Public License.
207
208
209
210uisp version 20050207 July, 2022 UISP(1)