Follow-up Comment #8, bug #28744 (project avrdude):
Hi, further experimentation shows that this problem seems related to the
input file syntax.
I attached two files, ATmegaBOOT_xplain.hex.BAD fails to load.
ATmegaBOOT_xplain.hex.GOOD loads. The first was generated by avr-gcc and
avr-objcopy. The second was generated by avr-studio using gcc, uploaded to the
xplain using avr-studio, and then downloaded to the file.
kerouac:xplain giuliano$ avrdude -p x128a1 -c dragon_jtag -P usb -U
boot:w:ATmegaBOOT_xplain.hex.BAD:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e974c
avrdude: reading input file "ATmegaBOOT_xplain.hex.BAD"
avrdude: ERROR: address 0x20010 out of range at line 2 of
ATmegaBOOT_xplain.hex.BAD
avrdude: write to file 'ATmegaBOOT_xplain.hex.BAD' failed
avrdude done. Thank you.
kerouac:xplain giuliano$ avrdude -p x128a1 -c dragon_jtag -P usb -U
boot:w:ATmegaBOOT_xplain.hex.GOOD:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e974c
avrdude: reading input file "ATmegaBOOT_xplain.hex.GOOD"
avrdude: writing boot (8192 bytes):
Writing | ################################################## | 100% 2.11s
avrdude: 8192 bytes of boot written
avrdude: verifying boot memory against ATmegaBOOT_xplain.hex.GOOD:
avrdude: load data boot data from input file ATmegaBOOT_xplain.hex.GOOD:
avrdude: input file ATmegaBOOT_xplain.hex.GOOD contains 8192 bytes
avrdude: reading on-chip boot data:
Reading | ################################################## | 100% 1.66s
avrdude: verifying ...
avrdude: 8192 bytes of boot verified
avrdude done. Thank you.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28744>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev