[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #28744] Can't load bootloader to xmega128a1
From: |
giuliano carlini |
Subject: |
[avrdude-dev] [bug #28744] Can't load bootloader to xmega128a1 |
Date: |
Mon, 15 Mar 2010 07:03:53 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9 |
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] [bug #28744] Can't load bootloader to xmega128a1,
giuliano carlini <=