GitHub picture of ramblehead

3D Printer AVR Firmware Backup

avrdude firmware upload and download hint

Upload

avrdude \
  -c <programmer type> \
  -P <connection port> \
  -b <override RS-232 baudrate> \
  -p <partno, AVR device> \
  -U <memtype>:r:file_name[:format]

Download

Use w (write) instead of r (read) for the -U option.

HTA3D Arduino USB-to-Serial example

avrdude -c wiring -P COM3 -b 115200 -p m2560 -U flash:r:flash-orig.hex:i
avrdude -c wiring -P COM3 -b 115200 -p m2560 -U eeprom:r:eeprom-orig.hex:i

References