# enter the parameters for the avrdude isp toolISPTOOL = dragon_ispISPPORT = usbISPSPEED = # the efuse should really be 0xf8; since, however, only the lower# three bits of that byte are used on the atmega168, avrdude gets# confused if you specify 1's for the higher bits, see:# http://tinker.it/now/2007/02/24/the-tale-of-avrdude-atmega168-and-extended-bits-fuses/## similarly, the lock bits should be 0xff instead of 0x3f (to# unlock the bootloader section) and 0xcf instead of 0x0f (to# lock it), but since the high two bits of the lock byte are# unused, avrdude would get confused.ISPFUSEFLASH = avrdude -c $(ISPTOOL) -p $(MCU_TARGET) -P $(ISPPORT) $(ISPSPEED) \-e -u -U lock:w:0x3f:m -U efuse:w:0x$(EFUSE):m -U hfuse:w:0x$(HFUSE):m -U lfuse:w:0x$(LFUSE):m \-U flash:w:$(PROGRAM).hex -U lock:w:0x0f:m
program: $(PROGRAM).hex $(ISPFUSEFLASH)
Binary sketch size: 11082 bytes (of a 63488 byte maximum)avrdude: verification error, first mismatch at byte 0x0002 0x7a != 0x38avrdude: verification error; content mismatch
LFUSE = 0xFFHFUSE = 0xDCEFUSE = 0xFD
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16