fromScratchEd / ShrimpKey_rev2

Other
3 stars 2 forks source link

One .hex file for bootloader and sketch #24

Open sdmeijer opened 10 years ago

sdmeijer commented 10 years ago

Make one .hex file for both the bootloader and sketch, so that both can be flashed together onto blank ATMEGA328P-PU's.

sdmeijer commented 10 years ago

How-to: http://forum.arduino.cc/index.php/topic,55245.0.html

[Note to myself] Didn't work

sdmeijer commented 10 years ago

Hex file of sketch can be found, see this post: http://forum.arduino.cc/index.php/topic,46866.0.html

baerwolf commented 10 years ago

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.

sdmeijer commented 10 years ago

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"