DownloadDownload: avrdude
avrdude \
-c <programmer type> \
-P <connection port> \
-b <override RS-232 baudrate> \
-p <partno, AVR device> \
-U <memtype>:r:file_name[:format]
Upload:
Use -cw -P(write) instead of -br -p m328p(read) for the -U flash:r:SaveFlash-U option.hex:i
Upload: avrdude -c -P -b -p m328pMore details at -U flash:w:SaveFlashmanual - avrdude Option-Descriptions.hex
Example:i
Download with uno bootloader: avrdude -carduino -PUNO v3 -b115200(ATmega328) flash ROM -p m328p(bootloader) given port -U flash:r/dev/ttyACM0 as Intel HEX:SaveFlash.hex
avrdude -c arduino -P /dev/ttyACM0 -b 115200 -p m328p -U flash:r:SaveFlash.hex:i
If used directly from from the arduino IDE archive also add:i
-C path-to/arduino-V/hardware/tools/avr/etc/avrdude.conf