Go Down

Topic: avrdude commands (Read 491 times) previous topic - next topic


Firstly apologize for my poor English
I just successfully try to burn Arduino Boot loader in to blank Atmega168 chip
Using this wonderful tutorial:

Here is write Avrdude command :
avrdude -c diecimila -P ft0 -p m168 -U flash:w:ATmegaBOOT_168_diecimila.hex

I would like to know the reverse command
To read from Atmega chip to file xxxxx.hex

Who know where I can find some tutorial on Avrdude commands.

Best regard


Feb 27, 2009, 10:11 pm Last Edit: Feb 27, 2009, 10:31 pm by kimio Reason: 1
Thanks for your visit my web page.
Command of download to xxxxx.hex from flash is below.

avrdude -c diecimila -P ft0 -p m168 -U flash:r:"xxxxx.hex":i

"r"  means read.
"i"  means Intel-Hex.

But this command download all of flash(bootloader+sketch).



Thanks for your answer

It is exactly what I looking for

In fact I would like
First flash a Bootloader then load some sketch thru Arduino IDE
After debugging, burn last sketch version and then "duplicate" chip
Bootloader + sketch

On more thank for your great tutorial
Best regards

Go Up