From 6afb32b2cd04cdb4cea85ff5dd61f3ea896dc0d8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstol Date: Tue, 27 Mar 2012 22:00:12 +0200 Subject: o Working on firmware. --- firmware/makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'firmware/makefile') diff --git a/firmware/makefile b/firmware/makefile index e31866c..e61623d 100644 --- a/firmware/makefile +++ b/firmware/makefile @@ -337,10 +337,10 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) # Type: avrdude -c ? # to get a full listing. # -AVRDUDE_PROGRAMMER = jtag2dw +AVRDUDE_PROGRAMMER = stk500 # com1 = serial port. Use lpt1 to connect to parallel port. -AVRDUDE_PORT = usb +AVRDUDE_PORT = /dev/ttyUSB0 AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex #AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep @@ -514,7 +514,8 @@ gccversion : program: $(TARGET).hex $(TARGET).eep # $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) #avarice -w -f VirtualSerial.hex -P at90usb162 -2 -j usb - avrdude -c avr109 -p usb162 -P /dev/ttyACM0 -U flash:w:VirtualSerial.hex +# avrdude -c avr109 -p usb162 -P /dev/ttyACM0 -U flash:w:VirtualSerial.hex + avrdude -c stk500 -p usb162 -P /dev/ttyUSB0 -U flash:w:VirtualSerial.hex reset: avarice -P at90usb162 -2 -j usb -R -- cgit v1.2.3