Rev Author Line No. Line
1015 mija 1 rem example for avrdude
2  
3  
4 @echo off
5 set PRG=stk500
6 set PORT=com2
7 pause
8 echo * Step 2 - ATmega8535
9 echo WARNING: Enables external clock. Make sure a crystal is connected
10 echo to the ATmega8535!
11 echo Connect programmer to ATmega8535 and Evertools mega8535 reset-jumper "ISP sel" J7 to
12 echo "ISP mega8535" 1-2 close
13 pause
14 avrdude -p atmega8535 -P %PORT% -c %PRG% -v -U lfuse:w:0xff:m -U hfuse:w:0xdb:m
15  
16 pause
17 avrdude -p mega8535 -P %PORT% -c %PRG% -U flash:w:stk500.hex:a
18  
19 echo Set both Reset-Jumpers "ISP sel" J7 to "normal" now 2-3 close