rem example for avrdude @echo off set PRG=stk500v2 set PORT=com2 pause echo * Step 2 - ATmega8535 echo WARNING: Enables external clock. Make sure a crystal is connected echo to the ATmega8535! echo Connect programmer to ATmega8535 and Evertools mega8535 reset-jumper "ISP sel" J7 to echo "ISP mega8535" 1-2 close pause avrdude -p atmega8535 -P %PORT% -c %PRG% -v -U lfuse:w:0xff:m -U hfuse:w:0xdb:m avrdude -p atmega8535 -P %PORT% -c %PRG% -U flash:w:stk500.hex:a echo Set both Reset-Jumpers "ISP sel" J7 to "normal" now 2-3 close