Created
April 29, 2015 04:33
-
-
Save yeyus/0e1bab0a33f97078a13a to your computer and use it in GitHub Desktop.
burn .hex to arduino board through serial using vanilla bootloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
# burn myhex.hex file | |
/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P /dev/ttyUSB0 -b57600 -D flash:w:myhex.hex:iç | |
# verify contents of flash against myhex.hex | |
/usr/share/arduino/hardware/tools/avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P /dev/ttyUSB0 -b57600 -D flash:v:myhex.hex:i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment