./avrdude -C ./avrdude.conf -c avrisp -b 38400 -i 10 -p m644p -P /dev/tty.usbserial- -F -U flash:r:factory_gen6.hex:i
|Generation 7 Electronics||Teacup Firmware||RepRap DIY|
avrdude.exe -C ..\etc\avrdude.conf -p m1280 -c avrisp -i 10 -P com6 -U flash:rriginal-firmware.hex:iNote: There's a colon followed by o in the command above, don't know how stop it from turning into a smiley...
avrdude.exe: stk500_getsync(): not in sync: resp=0x00
I found this solution with the help of this* blog from KarlP:
0.For Firmware Backup and Reset goto the arduino folder where avrdude.exe is located and copy avrdude.conf (located within the arduino folder) to the same directory.
1. in cmd go to that folder (something like cd "C:\program files\Arduino\hardware\tools\avr\bin") and type the following line (without running it!)
avrdude -p atmega2560 -P com17 -c stk500v2 -b115200 -F -U flash:w:factory_firmware.hex:i
for restore (the -D option is to skip erasing before programming):
avrdude -p atmega2560 -P com17 -c stk500v2 -b115200 -F -D -U flash:w:factory_firmware.hex:i
replace factory_firmware.hex with the your desired filename and com17 with your com port
2. now hold the reset button on the mega board and release it simultaneously with executing the avrdude command line (else you will get a timeout error)
I hope this helps sombody someday...
Re: backup installed firmware?
December 03, 2017 08:17AM
Registered: 2 months ago
.\avrdude -p atmega2560 -C ..\etc\avrdude.conf -c wiring -P com3 -b 57600 -F -U flash:r:i3_bak -v