diff options
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -347,7 +347,7 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) # Type: avrdude -c ?
# to get a full listing.
#
-AVRDUDE_PROGRAMMER = jtag2isp
+AVRDUDE_PROGRAMMER = jtag2dw
# com1 = serial port. Use lpt1 to connect to parallel port.
AVRDUDE_PORT = usb
@@ -523,7 +523,8 @@ gccversion : # Program the device.
program: $(TARGET).hex $(TARGET).eep
- $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
+ avarice -w -f BootloaderCDC.hex -P at90usb162 -2 -j usb
+# $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
fuses:
$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_SET_FUSES)
|