avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Writing bootloader section on XMega128A1


From: Johannes Bauer
Subject: [avr-chat] Writing bootloader section on XMega128A1
Date: Fri, 21 May 2010 10:54:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4

Hi list,

I'm using a XMega128A1 with a AVR JTagMKII - everything works smoothly
so far. Now I wanted to program the bootloader (I'm on chip revision H
BTW) and have run into some trouble:

$ avrdude -P usb -p x128a1 -U boot:w:Bootloader_Flash.hex:i -c jtagmkII

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.42s

avrdude: Device signature = 0x1e974c
avrdude: reading input file "Bootloader_Flash.hex"
avrdude: writing boot (4510 bytes):

Writing | ################################################## | 100% 0.40s

avrdude: 4510 bytes of boot written
avrdude: verifying boot memory against Bootloader_Flash.hex:
avrdude: load data boot data from input file Bootloader_Flash.hex:
avrdude: input file Bootloader_Flash.hex contains 4510 bytes
avrdude: reading on-chip boot data:

Reading | ################################################## | 100% 0.39s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x0c != 0xff
avrdude: verification error; content mismatch

avrdude done.  Thank you.

For some strange horrible reason it first off didn't work at all (tried
it about 20 times), then worked once (just once!), then again not at all
(again about 20 times). What the hell could be going on here? I've set
the fuses to use the bootloader reset, no protection of any kind is set.
Any ideas?

Kind regards,
Johannes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]