system
February 27, 2009, 1:05pm
1
Hello
Firstly apologize for my poor English
I just successfully try to burn Arduino Boot loader in to blank Atmega168 chip
Using this wonderful tutorial:
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
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
kimio
February 27, 2009, 9:11pm
2
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.
cf:AVRDUDE: 1 Introduction
But this command download all of flash(bootloader+sketch).
Regards.
system
February 28, 2009, 8:16pm
3
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