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

_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to