Open sdmeijer opened 10 years ago
How-to: http://forum.arduino.cc/index.php/topic,55245.0.html
[Note to myself] Didn't work
Hex file of sketch can be found, see this post: http://forum.arduino.cc/index.php/topic,46866.0.html
The easiest way is to grab your Chip and proceed the following steps without any other interruption or repeat:
First do an erase Second install the bootloader Third install your sketch Fourth use avrdude to read the whole flash-content back as a hex-file.
http://www.ladyada.net/learn/avr/avrdude.html: Search for "If you wanted to read the eeprom memory into the file "eedump.hex" you would use -U eeprom:r:eedump.hex:i"
Make one .hex file for both the bootloader and sketch, so that both can be flashed together onto blank ATMEGA328P-PU's.