]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
modified daqi Makefile -> make program_dfu, added a note concerning bootloader relate...
authorMichael Wiebusch <m.wiebusch@gsi.de>
Mon, 8 Dec 2014 13:57:12 +0000 (14:57 +0100)
committerMichael Wiebusch <m.wiebusch@gsi.de>
Mon, 8 Dec 2014 13:57:12 +0000 (14:57 +0100)
atmega32u4/atmel_stock_bootloader/ATMega32U4-usbdevice_dfu-1_0_0.hex [moved from atmega32u4/ATMega32U4-usbdevice_dfu-1_0_0.hex with 100% similarity]
atmega32u4/atmel_stock_bootloader/dfu-bootloader.pdf [new file with mode: 0644]
atmega32u4/atmel_stock_bootloader/standard fuse bits for stack bootloader [new file with mode: 0644]
atmega32u4/daqi/Makefile

diff --git a/atmega32u4/atmel_stock_bootloader/dfu-bootloader.pdf b/atmega32u4/atmel_stock_bootloader/dfu-bootloader.pdf
new file mode 100644 (file)
index 0000000..d2aeb33
Binary files /dev/null and b/atmega32u4/atmel_stock_bootloader/dfu-bootloader.pdf differ
diff --git a/atmega32u4/atmel_stock_bootloader/standard fuse bits for stack bootloader b/atmega32u4/atmel_stock_bootloader/standard fuse bits for stack bootloader
new file mode 100644 (file)
index 0000000..edf8720
--- /dev/null
@@ -0,0 +1,2 @@
+avrdude -p atmega32u4 -c dragon_isp -U lfuse:w:0xde:m -U hfuse:w:0xd9:m -U efuse:w:0xf3:m 
+
index b6dae5f86fe2e34457065b233d82e6cc7f28bfbd..b3727695b0c560a7c192a50109a71e6054aab1f0 100644 (file)
@@ -144,6 +144,8 @@ sym: $(TARGET).sym
 program: $(TARGET).hex $(TARGET).eep
        $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
 
+program_dfu: $(TARGET).hex
+       dfu-programmer $(MCU) erase && dfu-programmer $(MCU) flash $(TARGET).hex && dfu-programmer $(MCU) start