uisp1
Micro in-system programmer for atmel's avr mcus
Usage
uisp [OPTION]
..
-dprog=TYPE
-dpart=AT90XXX
--FUNCTION..
[if=SOURCE]
[of=DEST]
Overview
Programming Methods:
-
-dprog=<method> -
- avr910
-
Standard Atmel Serial Programmer/Atmel Low Cost Programmer
- pavr
-
http://www.avr1.org/pavr/pavr.html
- stk500
-
Atmel STK500
- dapa
-
Direct AVR Parallel Access
- stk200
-
Parallel Starter Kit STK200, STK300
- abb
-
Altera ByteBlasterMV Parallel Port Download Cable
- atdh
-
Atmel-ISP Download Cable (P/N ATDH1150VPC)
- avrisp
-
Atmel AVR ISP (?)
- bsd
-
http://www.bsdhome.com/avrdude/ (parallel)
- fbprg
-
http://ln.com.ua/~real/avreal/adapters.html (parallel)
- dt006
-
http://www.dontronics.com/dt006.html (parallel)
- maxi
-
Investment Technologies Maxi (parallel)
- dm04
-
Datamekatronik 2004 (parallel)
- dasa
-
serial (RESET=RTS SCK=DTR MOSI=TXD MISO=CTS)
- dasa2
-
serial (RESET=!TXD SCK=RTS MOSI=DTR MISO=CTS)
- dasa3
-
serial (RESET=!DTR SCK=RTS MOSI=TXD MISO=CTS)
Target Device Selection:
-
-dpart=part -
Set target abbreviated name or number. For some programmers, if
-dpartis not given programmer's supported devices are listed. Set-dpart=auto for auto-select. Auto-select does not work with all programmers, so it is recommended to always specify a target device explicitly.
Parallel Device Settings:
-dlpt=address|device name-
specify device name (Linux ppdev, FreeBSD ppi, serial) or direct I/O parallel port address (0x378, 0x278, 0x3BC)
-
-dno-poll -
Program without data polling (a little slower)
-
-dno-retry -
Disable retries of program enable command
-
-dvoltage=value -
Set timing specs according to the power supply voltage in [V] (default 3.0)
-
-dt_sck=time -
Set minimum SCK high/low time in micro-seconds (default 5)
-
-dt_wd_flash=time -
Set FLASH maximum write delay time in micro-seconds
-
-dt_wd_eeprom=time -
Set EEPROM maximum write delay time in micro-seconds
-
-dt_reset=time -
Set reset inactive (high) time in micro-seconds
-
-dinvert=[sck[,mosi[,miso[,reset]]]]] -
Invert specified lines Use
-v=3 option to see current settings.
-
-d89 -
Allow parallel programming of AT89S51 and AT89S52 devices.
Atmel Low Cost Programmer Serial Device Settings:
-dserial=device name-
Set serial interface as /dev/ttyS* (default /dev/avr)
-
-dspeed=1200|2400|4800|9600|19200|38400|57600|115200 -
Set speed of the serial interface (default 19200)
Stk500 specific options:
-
-dhiv -
Use Hi-V programming instead of SPI (default is SPI).
-
--rd_aref -
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.
-
--wr_aref=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.
-
--rd_vtg -
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.
-
--wr_vtg=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.
-
--rd_osc -
Read the oscillator frequency in Hertz.
-
--wr_osc=value -
Set the oscillator frequency in Hertz, from 14.06 to 3686400.
Functions:
-
--upload -
Upload "input_file" to the AVR memory.
-
--verify -
Verify "input_file" (processed after the
--uploadopt.)
-
--download -
Download AVR memory to "output_file" or stdout.
-
--erase -
Erase device.
-
--segment=flash|eeprom|fuse -
Set active segment (auto-select for AVA Motorola output)
Fuse/Lock Bit Operations:
-
--rd_fuses -
Read all fuses and print values to stdout
-
--wr_fuse_l=byte -
Write fuse low byte
-
--wr_fuse_h=byte -
Write fuse high byte
-
--wr_fuse_e=byte -
Write fuse extended byte
-
--wr_lock=byte -
Write lock bits. Argument is a byte where each bit is:
Bit5 -> blb12
Bit4 -> blb11
Bit3 -> blb02
Bit2 -> blb01
Bit1 -> lb2
Bit0 -> lb1
-
--lock -
Write lock bits [old method; deprecated].
Files:
if=filename-
Input file for the
--uploadand--verifyfunctions in Motorola S-records (S1 or S2) or 16 bit Intel format
of=filename-
Output file for the
--downloadfunction in Motorola S-records format, default is standard output
Other Options:
-
-v=level -
Set verbose level (-v equals
-v=2, min/max: 0/4, default 1)
-
--hash=perbytes -
Print hash (default is 32 bytes)
-
--help -h -
Help
-
--version -
Print version information
-
--terminal -
Invoke shell-like terminal
Releases
13 releases since Debian 2.2 (Potato); the text changed 7 times.
--download since Debian 3.1 (Sarge);
--erase since Debian 3.1 (Sarge);
--hash since Debian 3.1 (Sarge);
--help since Debian 3.1 (Sarge);
--lock since Debian 3.1 (Sarge);
--rd_aref since Debian 3.1 (Sarge);
--rd_fuses since Debian 3.1 (Sarge);
--rd_osc since Debian 3.1 (Sarge);
--rd_vtg since Debian 3.1 (Sarge);
--segment since Debian 3.1 (Sarge);
--terminal since Debian 3.1 (Sarge);
--upload since Debian 3.1 (Sarge);
--verify since Debian 3.1 (Sarge);
--version since Debian 3.1 (Sarge);
--wr_aref since Debian 3.1 (Sarge);
--wr_fuse_e since Debian 3.1 (Sarge);
--wr_fuse_h since Debian 3.1 (Sarge);
--wr_fuse_l since Debian 3.1 (Sarge);
--wr_lock since Debian 3.1 (Sarge);
--wr_osc since Debian 3.1 (Sarge);
--wr_vtg since Debian 3.1 (Sarge);
-d89 since Debian 3.1 (Sarge);
-dhiv since Debian 3.1 (Sarge);
-dinvert since Debian 3.1 (Sarge);
-dno-poll since Debian 3.1 (Sarge);
-dno-retry since Debian 3.1 (Sarge);
-dpart since Debian 3.1 (Sarge);
-dprog since Debian 3.1 (Sarge);
-dspeed since Debian 3.1 (Sarge);
-dt_reset since Debian 3.1 (Sarge);
-dt_sck since Debian 3.1 (Sarge);
-dt_wd_eeprom since Debian 3.1 (Sarge);
-dt_wd_flash since Debian 3.1 (Sarge);
-dvoltage since Debian 3.1 (Sarge);
-h since Debian 3.1 (Sarge);
-v since Debian 3.1 (Sarge).