OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Question about blank Atmega644 programming… › Reply To: Question about blank Atmega644 programming…
February 19, 2015 at 8:44 am
#35608
Ray
Keymaster
Try this:
avrdude -c usbtiny -p m644p -U lfuse:w:0xFF:m -U hfuse:w:0xD6:m -U efuse:w:0xFF:m
A blank ATmega chip is set to run on internal 1MHz clock. The above sets the fuse bits to use external crystal clock. Since you don’t have CH340G yet, you don’t need to flash the bootloader.