
ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x7
I am new bie to ARM7. I have two similar devices having at91sam7s128 controller on it. I have the firmware, code written in 4.4 version of IAR. Intially it was progrmming fine. I tried to write my own code and in that process i tried to run the 5.3 version IAR example on the device and it was working also. The 4.4 code was not migrating to 5.3 so i replaced the 5.3 example startup file with 4.4 file and tried to program the controller with jlink.
Since than ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x7 (TAP Command : 2) @ Off 0x5.
I comming and i am unable to program the device again. Plz guys it is very serious issue for me . If some one can please assist me how to remove this error. Please help.
Regards
Dani
"Adnan" wrote:
> Since than ERROR: Bad JTAG communication: Write to IR: Expected 0x1,
> got 0x7 (TAP Command : 2) @ Off 0x5.
This is the sort of thing I get when I have code that's running with
interrupts, or something else that the SAM-ICE device doesn't disable,
and I attempt to program the device.
When in doubt: Disable boot options (usually via jumpers) 'til you can
get back to just the "ROM Boot" prompt on the debug console when you
power up.
Dan
