summaryrefslogtreecommitdiff
path: root/firmware/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/makefile')
-rw-r--r--firmware/makefile7
1 files changed, 4 insertions, 3 deletions
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