

The software implementation does not have very accurate timing, and so The main issue is that my computer is USB-C, and the programmer we made the first week implements software USB-2.0 rather than hardware. Programming ATMEL Devices from My Computer

So that our make file looks like: PROJECT=blinkĬFLAGS=-mmcu=$(MMCU) -Wall -Os -DF_CPU=$(F_CPU)Īvr-objcopy -O ihex $(PROJECT).out $(PROJECT).c.hex \Īvr-size -mcu=$(MMCU) -format=avr $(PROJECT).outĪvr-gcc $(CFLAGS) -I./ -o $(PROJECT).out $(SOURCES)Īvrdude -p m16u2 -c bsd -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P /dev/ttyUSB0 -c dasa -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P usb -c avrisp2 -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P usb -c avrisp2 -U lfuse:w:0x5E:mĪvrdude -p m16u2 -P usb -c usbtiny -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P usb -c usbtiny -U lfuse:w:0x5E:mĪvrdude -p m16u2 -P usb -c dragon_isp -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P usb -c atmelice_isp -U flash:w:$(PROJECT).c.hexĪvrdude -p m16u2 -P usb -c atmelice_isp -U lfuse:w:0x5E:m In particular, we find the line: m16u2 = ATmega16U2 Makefile for arduino Programming ATMega16U2 avrdude -p asdf -c usbtiny Frustrated by being unable to program on her own computer, Hannah finally figures out a solution: Arduino as ISP.
