backup installed firmware? May 25, 2011 12:24PM |
Registered: 13 years ago Posts: 32 |
Re: backup installed firmware? May 26, 2011 12:03AM |
Registered: 13 years ago Posts: 7,616 |
./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 |
Re: backup installed firmware? May 27, 2011 11:13AM |
Registered: 13 years ago Posts: 32 |
Re: backup installed firmware? July 02, 2011 02:41PM |
Registered: 13 years ago Posts: 6 |
Re: backup installed firmware? July 03, 2011 11:15AM |
Registered: 13 years ago Posts: 6 |
Re: backup installed firmware? July 04, 2011 04:30AM |
Registered: 13 years ago Posts: 6 |
Re: backup installed firmware? October 19, 2012 08:17AM |
Re: backup installed firmware? January 13, 2015 03:59AM |
Registered: 9 years ago Posts: 56 |
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
Re: backup installed firmware? January 25, 2015 03:00PM |
Registered: 9 years ago Posts: 56 |
Re: backup installed firmware? December 27, 2015 06:26PM |
Registered: 8 years ago Posts: 1 |
Re: backup installed firmware? December 27, 2015 08:53PM |
Admin Registered: 13 years ago Posts: 7,005 |
Re: backup installed firmware? March 25, 2016 06:13PM |
Registered: 8 years ago Posts: 1 |
Quote
RNJ
I found this solution with the help of this* blog from KarlP:
*[false.ekta.is]
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!)
for backup:
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? May 13, 2017 11:07PM |
Registered: 7 years ago Posts: 1 |
Re: backup installed firmware? December 03, 2017 11:17AM |
Registered: 6 years ago Posts: 1 |
.\avrdude -p atmega2560 -C ..\etc\avrdude.conf -c wiring -P com3 -b 57600 -F -U flash:r:i3_bak -v
Re: backup installed firmware? February 03, 2019 11:09AM |
Registered: 5 years ago Posts: 1 |
:w:Is "write" to the Arduino / mainboard memory NOT "writing" / "backing" it up to a local file where avrdude is running.
avrdude -p m1284p -c arduino -P /dev/ttyUSB0 -b 115200 -F -U flash:r:existingMarlin_fw_20190202_01.hex:i avrdude -p m1284p -c arduino -P /dev/ttyUSB0 -b 115200 -F -U eeprom:r:existingMarlin_eeprom_20190202_01.hex:i