2009-07-01 16:48:05 UTC
Hello Everybody,
I've tried for quite a while now to set the BS-Register of either a AT91SAM7X or ATMEGA16.
It fails for both of them, I fear :(
I can read their BS-Register fine, thought!
I can also read their ID-CODEs.
I'm using an ARM-USB-TINY.
My guess so far is, that the BS-Register is just not written the way I intend.
Here is what I do: (i chopped off the first 129 bit, just showing the last 12)
PORTA(0) is hard wired to PORTA(3)!
jtag> instruction sample/preload
jtag> dr
100101110110
dr 100101110000
(same except for the last three bit, which are for PORTA(0) )
jtag> shift dr
jtag> instruction extest
jtag> shift dr
jtag> dr
100101110110
So thats not what I would expect... it shoud rather be
100101110100 (second last bit is now zero) or something close to it!
Hope you have an Idea!
Greetings from Hamburg/Germany
- Thorsten