Sunday, June 2, 2013

MarcDuino Part 2

So I've assembled and flashed the HP Controller code to the Slave MarcDuino board.  This went much smoother than the Master board even with changing laptops and having to re-install AVRDude, though Burn-O-Mat still doesn't have the ATMega328p as a valid option so back to the CLI commands and I got my 1 sec blinking red LED.  This code flash is mostly just to test the assembly of the board.  The code will need updating to work with the Teeces displays.

/opt/local/bin/avrdude -C /opt/local/etc/avrdude.conf -p m328p -P usb -c usbtiny -U efuse:r:./efuse.hex:i -U hfuse:r:./hfuse.hex:i -U lfuse:r:./lfuse.hex:i


/opt/local/bin/avrdude -C /opt/local/etc/avrdude.conf -p m328p -P usb -c usbtiny -u -U efuse:w:0x07:m -U hfuse:w:0xDF:m -U lfuse:w:0xFF:m

/opt/local/bin/avrdude -C /opt/local/etc/avrdude.conf -p m328p -P usb -c usbtiny -U efuse:v:0x07:m -U hfuse:v:0xDF:m -U lfuse:v:0xFF:m


/opt/local/bin/avrdude -C /opt/local/etc/avrdude.conf -p m328p -p m328p -P usb -c usbtiny -U flash:w:/<src>/HPController_v1.2.hex:a

No comments:

Post a Comment