Skip to content

Instantly share code, notes, and snippets.

@kabturek
Created July 14, 2011 11:18
Show Gist options
  • Save kabturek/1082279 to your computer and use it in GitHub Desktop.
Save kabturek/1082279 to your computer and use it in GitHub Desktop.
Burning the lillypad bootloader
#arduino/hardware/arduino/bootloaders/lilypad
#these fuses are for the lilypad with atmega 168! for other chips see arduino/hardware/arduino/boards.txt
avrdude -c usbtiny -p m168 -B 5 -V -e -U lock:w:0x3F:m -U hfuse:w:0xdd:m -U lfuse:w:0xe2:m -U efuse:w:0x00:m
avrdude -c usbtiny -p m168 -B 1 -V -D -U flash:w:LilyPadBOOT_168.hex:i
avrdude -c usbtiny -p m168 -B 5 -V -U lock:w:0x0F:m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment