Follow-up Comment #1, patch #6825 (project avrdude):
I finally got the time to test the patch. Sorry for taking
forever.
Alas, with the patch, JTAG programming completely fails for me.
This is just a first test, so I didn't try to isolate the
hunk(s) of the patch that makes it fail. The symptom is that
it starts out fine, but reads only garbage:
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATXMEGA128A1REVD is 1E 97 41
avrdude> d fuse4
>>> d fuse4
0000 00 |. |
avrdude> d fuse2
>>> d fuse2
0000 00 |. |
avrdude> d flash
>>> d flash
0000 00 00 00 00 01 00 00 00 00 00 00 40 00 00 10 00 |...........@....|
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
avrdude> d ee
>>> d ee
0000 00 00 00 00 01 00 00 00 00 00 00 40 00 00 10 00 |...........@....|
0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
In contrast, without the patch, at least the minimal
functionality is OK:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9741
avrdude> d flash
>>> d flash
0000 0e 94 40 00 0e 94 2b 00 0e 94 4d 00 05 e0 00 93 |....@...+...m.....|
0010 05 02 00 93 45 02 00 91 16 02 10 91 56 02 01 23 |....E.......V..#|
0020 01 30 c9 f7 00 91 08 02 00 93 64 06 0e 94 4d 00 |.0........d...M.|
0030 00 91 09 02 00 93 64 06 0e 94 4d 00 00 91 48 02 |.. ...d...M...H.|
avrdude> d ee
>>> d ee
0000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
0010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
0020 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
0030 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
avrdude> d fuse4
>>> d fuse4
0000 1e |. |
avrdude> d fuse5
>>> d fuse5
0000 f7 |. |
avrdude> d lock
>>> d lock
0000 ff |. |
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6825>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev