Go Down

Topic: Dumping sketch and re-uploading the dump (Read 1 time) previous topic - next topic


I am new to this board so excuse me if I picked the wrong section for my question.

I would like to know if its possible to download the executable code for the current sketch on a diecimila, and upload that back again.
The reason is that I'm not sure if a sketch I have is the same or an older version of what's uploaded, and I don't want to lose the functionality of the uploaded version if my sketch is old.


you have to check AVRdude.exe and then the -D option (from my head) , check the manpages to be sure. Avrdude.exe and its manpage is part of the arduino download.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


I had a look at avrdude.exe the -D parameter is 'disable auto erase for flash memory'. I don't see anything about dumping the contents or flashing them back on.

Coding Badly

Do you want the bootloader preserved?

Do you have a second Arduino or an ICSP?


Mar 12, 2011, 07:38 am Last Edit: Mar 12, 2011, 07:40 am by Graynomad Reason: 1
There is an avrdude option (-U) to read memory, try "avrdude -?" to see the options.

Rob Gray aka the GRAYnomad www.robgray.com

Go Up