UISP(1)
πΈ UISP(1) β like, the manual page for uisp πΈ
Hey bestie π so this is uisp, straight out of the User Commands section of the manual pages (section 1, iykyk), and it's basically the little tool that talks to your AVR chips and makes them do stuff. Buckle up, we're going through the whole thing together, no skipping π«Ά
β¨ NAME β¨
uisp β the manual page for uisp. That's it, that's the name section π
π SYNOPSIS π
uisp [OPTION].. -dprog=TYPE -dpart=AT90XXX --FUNCTION.. [if=SOURCE]
[of=DEST]
Like, you give it a bunch of options, you tell it what programmer type you've got with -dprog=TYPE, you name your part with -dpart=AT90XXX, then you pick a function (--upload, --verify, whatever the vibe is), and optionally point at a source with if=SOURCE or a destination with of=DEST. Simple as that, periodt π
π¦ DESCRIPTION π¦
π₯ Programming Methods π₯
The -dprog=avr910|pavr|stk500 crew
avr910β the Standard Atmel Serial Programmer / Atmel Low Cost Programmer. Classic. Iconic.pavrβ over athttp://www.avr1.org/pavr/pavr.htmlstk500β the Atmel STK500
And the -dprog=dapa|stk200|abb|atdh|avrisp|bsd|fbprg|dt006|maxi|dm04|dasa|dasa2|dasa3 girlies
dapaβ Direct AVR Parallel Accessstk200β Parallel Starter Kit STK200, STK300abbβ Altera ByteBlasterMV Parallel Port Download Cableatdhβ 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 the target's abbreviated name or number. Real talk: for some programmers, if you don't pass-dpart, the programmer's supported devices get listed at you instead. You can also set-dpart=autofor auto-select, but heads up bestie β auto-select does not work with all programmers, so it's recommended to always specify a target device explicitly. Always. Specify. It. π
π₯οΈ Parallel Device Settings π₯οΈ
-dlpt=address|device nameβ specify the device name (Linuxppdev, FreeBSDppi, serial) or a direct I/O parallel port address (0x378,0x278,0x3BC)-dno-pollβ program without data polling (a little slower, but she still gets there π )-dno-retryβ disable retries of the program enable command-dvoltage=valueβ set timing specs according to the power supply voltage in [V] (default3.0)-dt_sck=timeβ set minimum SCK high/low time in micro-seconds (default5)-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 the specified lines. Use the-v=3option to see the current settings, iykyk π-d89β allow parallel programming of AT89S51 and AT89S52 devices
π§ Atmel Low Cost Programmer Serial Device Settings π§
-dserial=device nameβ set the serial interface as/dev/ttyS*(default/dev/avr)-dspeed=1200|2400|4800|9600|19200|38400|57600|115200β set the speed of the serial interface (default19200)
β Stk500 specific options β
-dhivβ use Hi-V programming instead of SPI (default is SPI)--rd_arefβ read the ARef Voltage. Ngl, due to a bug in the stk500 firmware, the read value is sometimes off by0.1from the actual value measured with a volt meter π--wr_aref=valueβ set the ARef Voltage. Valid values are0.0to6.0volts in0.1volt increments. Value can not be larger than the VTarget value.--rd_vtgβ read the Vtarget Voltage. Same firmware-bug situation: the read value is sometimes off by0.1from the actual value measured with a volt meter π--wr_vtg=valueβ set the VTarget Voltage. Valid values are0.0to6.0volts in0.1volt 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, from14.06to3686400
π 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 the 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. The argument is a byte where each bit is:Bit5->blb12Bit4->blb11Bit3->blb02Bit2->blb01Bit1->lb2Bit0->lb1
--lockβ write lock bits [old method; deprecated]. Like, it still exists but she's retired, don't @ her β
π Files π
if=filenameβ the input file for the--uploadand--verifyfunctions, in Motorola S-records (S1orS2) or 16 bit Intel formatof=filenameβ the output file for the--downloadfunction in Motorola S-records format, default is standard output
π Other Options π
-v=levelβ set verbose level (-vequals-v=2, min/max:0/4, default1)--hash=perbytesβ print hash (default is32bytes)--help -hβ Help--versionβ print version information--terminalβ invoke shell-like terminal
π AUTHOR π
Written by Uros Platise. A legend, fr fr π«Ά
π REPORTING BUGS π
Report bugs to <uisp-dev@nongnu.org> β they want the tea, bestie, so tell them π
π SEE ALSO π
http://savannah.nongnu.org/download/uisp/ β go look, it's giving resourceful β¨
π COPYRIGHT π
(c) 1997-1999 Uros Platise, 2000-2004 Marek Michalkiewicz
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. Slay π
And that's the whole page, bestie β uisp version 20050207, dated February, 2024, living in UISP(1) forever. Go flash something iconic πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: uisp 20050207suse-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: uisp 20050207suse-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: uisp 20050207suse-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: uisp 20050207suse-bp160.1.13 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms