Quantcast
Channel: Reprap Forum - Sanguino(lolu)
Viewing all articles
Browse latest Browse all 1033

Re: backup installed firmware?

$
0
0
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...

Hi RNG,

Shouldn't it be "-U flash:r" to read from Arduino (backup) and "-U flash:w" to write to Arduino (restore)?

Viewing all articles
Browse latest Browse all 1033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>