@echo off SET AVRDUDE=D:\Program\avrdude\avrdude.exe -C D:\Program\avrdude\avrdude.conf SET MCU=m8 # 0x24 0xD1 -- internal 8Mhz, Brouwn detector, preserve eeprom # 0x3F 0xC1 -- ext hi speed q, Brouwn detector, preserve eeprom %AVRDUDE% -p %MCU% -c usbasp -U lfuse:w:0x3E:m -U hfuse:w:0xC9:m