avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] Current svn head, xmega and fuses, tied to fuse0


From: Claus-Justus Heine
Subject: [avrdude-dev] Current svn head, xmega and fuses, tied to fuse0
Date: Sat, 23 Mar 2013 20:28:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4

Hi there,

I did a quick search about this issue in the mailing- and bug-list but
did not find an answer (which might imply that may search was too
superficial). However:

When I use a jtag3 and the current head of the svn trunk and try to
program or read the fuse with a jtag3 in PDI mode, then I always end up
reading and writing fuse0. A quick search through the source code (and
the /etc/avrdude.conf file) reveals that, e.g., in jtag3.c in
jtag3_read_byte() every memory type starting with the word "fuse" ends
up to address fuse0. The offset specification in the config file is
ignored. I'm trying to address the fuses like this:

avrdude -p atxmega128a1 -c jtag3pdi -U  fuse2:r:/tmp/blah:h

Also, running above command with four "-v" flags reveals that the data
sent to the jtag3 does not change at all if varying the memory type
among fuse{0,1,2,4,5}

I'm very well aware of the fact that the trunk of a vc-repo always
reflects work in progress. If this is indeed a bug, I would open an
issue in the bug tracker and suggest a fix in form of a patch against
the head of the trunk. However, as this is such an obvious issue, I
rather suspect that it is already fixed in some working copy of the core
developer(s).

Otherwise JTAG3 works quite well, I'm also able to debug with avarice.
I'm using this for some xmega128a1 module. Many thanks to Joerg Wunsch.

Best,

Claus

-- 
Claus-Justus Heine                      address@hidden

http://http://www.claus-justus-heine.de/



reply via email to

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