Hi,
In my makefile I have the following line to generate a hex file.
avr-objcopy -O ihex -R .eeprom target.elf target.hex
After looking at the error message from avrubd the lines that seems to
cause the error are the two starting with :02 and :03
:0C84340003000000000E225A220000008D
:02000004008278
:03000000EDB9FA5D
:00000001FF
These are the last four lines in the hex file. The target processor is
an ATMega640 with 64kB of flash so obj copy shouldn't be generating a
32bit ihex file.
Do you have an example of command line that generates a valid hex
file? I'd like to use hyperterminal to load my application into Flash
(I've managed to establish communications with the bootloader and
verified that it writes to Flash) however the program doesn't seem to
work for me after a download.
Have you got a command line example that generates a valid raw image
from a standard avr .elf file?