mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Fixed burn.bat and added burnpara.bat for parallel port programming.
This commit is contained in:
parent
55dc23e859
commit
844a33a260
10
build/windows/dist/bootloader/burn.bat
vendored
10
build/windows/dist/bootloader/burn.bat
vendored
@ -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
18
build/windows/dist/bootloader/burnpara.bat
vendored
Executable 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
|
Loading…
x
Reference in New Issue
Block a user