Arduino Uno
avrdude -c arduino -P com4 -b 115200 -p ATMEGA328p -U flash:w:camBox.ino.hex
or
avrdude -c arduino -P com4 -b 115200 -p m328p -U flash:w:camBox.ino.hex
or
avrdude -c arduino -P com4 -b 115200 -p ATMEGA328p -U flash:w:E:\camBox.ino.hex:i
Arduino Mega
avrdude -c wiring -P com4 -b 115200 -p m2560 -U flash:w:camBox.ino.hex
avrdude -c wiring -P com4 -b 115200 -p ATmega2560 -U flash:w:E:\camBox.ino.hex:i
partno list
http://www.nongnu.org/avrdude/user-manual/avrdude_4.html
or see the avrdude.conf
沒有留言:
張貼留言