Programming Arduino Mega using avrdude

In case anyone ever needs to program an Arduino Mega using avrdude but doesn’t want to run around the Internet looking for the command line settings, here you go:

Arduino Mega (ATmega 1280)

avrdude -p m1280 -c arduino -P /path/to/serial -b 57600 -F -U flash:w:/path/to/image.hex

Arduino Mega (ATmega 2560)

avrdude -p m2560 -c stk500v2 -P /path/to/serial -b 115200 -F -U flash:w:/path/to/image.hex

I hope you enjoyed this post. If you are looking to hire a versatile software engineer who loves improving developer productivity and infrastructure and you happen to be either 1) located in Sacramento or 2) open to a remote worker, then please get in touch.


© 2018 Kevin Conley

Powered by Hydejack v7.5.1