Fixed burn.bat and added burnpara.bat for parallel port programming.

This commit is contained in:
David A. Mellis 2006-01-27 10:44:34 +00:00
parent 55dc23e859
commit 844a33a260
2 changed files with 24 additions and 4 deletions

View File

@ -1,6 +1,8 @@
REM TODO: need way to specify serial port.
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xFF
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xca
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --erase --upload --verify if=ATMegaBOOT.hex
..\tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xCF
cd ..
tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xFF
tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_fuse_l=0xdf --wr_fuse_h=0xca
tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --erase --upload --verify if=bootloader\ATMegaBOOT.hex
tools\avr\bin\uisp -dpart=ATmega8 -dprog=stk500 -dserial=com1 -dspeed=115200 --wr_lock=0xCF
cd bootloader

18
build/windows/dist/bootloader/burnpara.bat vendored Executable file
View File

@ -0,0 +1,18 @@
@REM burnpara.bat
@REM David A. Mellis
@REM 27 January 2006
@REM Burns bootloader onto Arduino board with a parallel port programmer.
REM Before running this for the first time, you'll need to install giveio.
REM Unzip drivers\giveio.zip, then run ginstall.bat.
@REM Need to be in directory with cygwin dll's.
cd ..
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xFF
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_fuse_l=0xdf --wr_fuse_h=0xca
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --erase --upload --verify if=bootloader\ATMegaBOOT.hex
tools\avr\bin\uisp -dpart=ATmega8 -dprog=dapa -dlpt=0x378 --wr_lock=0xCF
@REM Return to bootloader directory.
cd bootloader