User Tools

Site Tools


flash_the_atmega

This is an old revision of the document!


Get the firmware

You can either take a pre-built firmware package from http://www.smarthomatic.org/builds/builds.html or build your own firmware. If you take the prebuilt package, extract it and continue with “Flashing the controller”.

Flashing the controller

pi@ninjablock ~/test/smarthomatic/firmware/shc_basestation $ avrdude -P /dev/ttyACM0 -c STK500 -p m328p -U flash:w:bin/ohc_basestation.hex -U lfuse:w:0xf7:m -U hfuse:w:0xd1:m -U efuse:w:0x07:m
flash_the_atmega.1380805519.txt.gz · Last modified: 2013/10/04 18:56 (external edit)