Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AT91SAM ARM | need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got - Adnan - Aug 3 12:30:17 2009

Dear senior members,

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

------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got - Dan Lyke - Aug 3 13:05:07 2009

On Mon, 03 Aug 2009 16:05:14 -0000
"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
------------------------------------

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

RE: need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got - "ICLI, Bekir (EXT)" - Aug 4 5:07:55 2009

Try reinstalling JTAG driver.. That helped me with this kind of a problem.

Best,
Bekir

________________________________
From: A...@yahoogroups.com [mailto:A...@yahoogroups.com] On Behalf Of Adnan
Sent: Monday, August 03, 2009 6:05 PM
To: A...@yahoogroups.com
Subject: [AT91SAM] need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got

Dear senior members,

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


(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )

Re: need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got - Adnan - Aug 4 12:03:05 2009

The device was loosing the power some how. I checked it and when insured the power is supplying continuesly while flashing the controller the error removed. Thanks for the guidence.

regards
Dani.

--- In A...@yahoogroups.com, "ICLI, Bekir (EXT)" wrote:
>
> Try reinstalling JTAG driver.. That helped me with this kind of a problem.
>
> Best,
> Bekir
>
> ________________________________
> From: A...@yahoogroups.com [mailto:A...@yahoogroups.com] On Behalf Of Adnan
> Sent: Monday, August 03, 2009 6:05 PM
> To: A...@yahoogroups.com
> Subject: [AT91SAM] need urgent help.. ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got
>
> Dear senior members,
>
> 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
>
------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )