EmbeddedRelated.com
Forums

INTERESTING Rowley Crossworks 1.7 - jtag wiggler problem

Started by "zarko.nikolic" February 19, 2008
Recently I started laerning about ARM (LPC2148) and found Keil, IAR
and Rowley GUI environments. I read their documentations and user
comments and to me it seems tgat Rowley Crossworks is what suits me
the best (it is not as complicated as Keil or IAR).

I have some problems with JTAG Wiggler in Rowley CrossWorks 1.7.

I made the JTAG Wigler clone similar to Leon's design (with 74HC244).

My Wiggler clone works with H-JTAG 0.6 with following settings
TMS - D1
TCK - D2
TDI - D3
TDO - Busy
nTRST - D4
nSRST - D0 (nSRST inverted) via NPN transistor.

When i power up my LPC2148 board (it is connected via JTAG Wiggler
interface) and in CrossStudio try to connect to Macraigor Wiggler (20
pin) I get following message "Cannot identify target. Check JTAG
connections and that target is powered".

The interesting part is, Crossworks is running, I start H-JTAG and it
recognizes my LPC2148, than i shut down H-JTAG and than press connect
in Crossworks, it also identifies my LPC2148. Later when i power off
and power on my LPC board Crossworks cannot identify my LPC board.

I tried cutting nTRST signal but no changes.

Any help is appreciated.

Zarko

An Engineer's Guide to the LPC2100 Series

Hi,

> Recently I started laerning about ARM (LPC2148) and found Keil, IAR
> and Rowley GUI environments. I read their documentations and user
> comments and to me it seems tgat Rowley Crossworks is what suits me
> the best (it is not as complicated as Keil or IAR).
>
> I have some problems with JTAG Wiggler in Rowley CrossWorks 1.7.
>
> I made the JTAG Wigler clone similar to Leon's design (with 74HC244).
>
> My Wiggler clone works with H-JTAG 0.6 with following settings
> TMS - D1
> TCK - D2
> TDI - D3
> TDO - Busy
> nTRST - D4
> nSRST - D0 (nSRST inverted) via NPN transistor.
>
> When i power up my LPC2148 board (it is connected via JTAG Wiggler
> interface) and in CrossStudio try to connect to Macraigor Wiggler (20
> pin) I get following message "Cannot identify target. Check JTAG
> connections and that target is powered".
>
> The interesting part is, Crossworks is running, I start H-JTAG and it
> recognizes my LPC2148, than i shut down H-JTAG and than press connect
> in Crossworks, it also identifies my LPC2148. Later when i power off
> and power on my LPC board Crossworks cannot identify my LPC board.
>
> I tried cutting nTRST signal but no changes.
>
> Any help is appreciated.

I suggest that you reduce the TCK frequency by increasing the clock divider
and see if that helps. nTRST isn't used by CrossWorks, nSRST is though.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
> I suggest that you reduce the TCK frequency by increasing the clock
divider
> and see if that helps. nTRST isn't used by CrossWorks, nSRST is though.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>

I already tried reducing TCK frequency in Crossworks but it does not help.

Yet my wiggler clone works with H-JTAG at highest speed.

Is there a way to use h-jtag with crossworks?
----- Original Message -----
From: "zarko.nikolic"
To:
Sent: Tuesday, February 19, 2008 10:37 AM
Subject: [lpc2000] INTERESTING Rowley Crossworks 1.7 - jtag wiggler problem
> Recently I started laerning about ARM (LPC2148) and found Keil, IAR
> and Rowley GUI environments. I read their documentations and user
> comments and to me it seems tgat Rowley Crossworks is what suits me
> the best (it is not as complicated as Keil or IAR).
>
> I have some problems with JTAG Wiggler in Rowley CrossWorks 1.7.
>
> I made the JTAG Wigler clone similar to Leon's design (with 74HC244).
>
> My Wiggler clone works with H-JTAG 0.6 with following settings
> TMS - D1
> TCK - D2
> TDI - D3
> TDO - Busy
> nTRST - D4
> nSRST - D0 (nSRST inverted) via NPN transistor.
>
> When i power up my LPC2148 board (it is connected via JTAG Wiggler
> interface) and in CrossStudio try to connect to Macraigor Wiggler (20
> pin) I get following message "Cannot identify target. Check JTAG
> connections and that target is powered".
>
> The interesting part is, Crossworks is running, I start H-JTAG and it
> recognizes my LPC2148, than i shut down H-JTAG and than press connect
> in Crossworks, it also identifies my LPC2148. Later when i power off
> and power on my LPC board Crossworks cannot identify my LPC board.
>
> I tried cutting nTRST signal but no changes.

My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO and RST.

Leon
> My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO
and RST.
>
> Leon
>

The JTAG Wiggler that i made also works with CrossWorks but only after
I start H-Jtag (h-jtag identifies ARM).
Later I can quit H-Jtag and CrosswWorks continues to work with Jtag
wiggler until i shut down the LPC board and power it on again. Then a
again have to start h-jtag in order to continue to work in CrossWorks.

Zarko
----- Original Message -----
From: "zarko.nikolic"
To:
Sent: Tuesday, February 19, 2008 11:50 AM
Subject: [lpc2000] Re: INTERESTING Rowley Crossworks 1.7 - jtag wiggler
problem
>> My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO
> and RST.
>>
>> Leon
>> The JTAG Wiggler that i made also works with CrossWorks but only after
> I start H-Jtag (h-jtag identifies ARM).
> Later I can quit H-Jtag and CrosswWorks continues to work with Jtag
> wiggler until i shut down the LPC board and power it on again. Then a
> again have to start h-jtag in order to continue to work in CrossWorks.

Did you copy my design exactly? I took a lot of care over the layout, which
is why it works better than a Wiggler, although the circuit is virtually the
same.

Leon
Mine works without any problem with CW + LPC (don't need H-JTAG). Works with
CW + STM32 too, but after some time of use Windows XP give me a blue screen.
Regards,
Maia

-------Original Message-------

From: zarko.nikolic
Date: 19/2/2008 08:50:18
To: l...
Subject: [lpc2000] Re: INTERESTING Rowley Crossworks 1.7 - jtag wiggler
problem

> My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO
and RST.
>
> Leon
>

The JTAG Wiggler that i made also works with CrossWorks but only after
I start H-Jtag (h-jtag identifies ARM).
Later I can quit H-Jtag and CrosswWorks continues to work with Jtag
wiggler until i shut down the LPC board and power it on again. Then a
again have to start h-jtag in order to continue to work in CrossWorks.

Zarko
--- In l..., "Leon" wrote:
>
> ----- Original Message -----
> From: "zarko.nikolic"
> To:
> Sent: Tuesday, February 19, 2008 11:50 AM
> Subject: [lpc2000] Re: INTERESTING Rowley Crossworks 1.7 - jtag wiggler
> problem
> >> My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO
> > and RST.
> >>
> >> Leon
> >>
> >
> > The JTAG Wiggler that i made also works with CrossWorks but only after
> > I start H-Jtag (h-jtag identifies ARM).
> > Later I can quit H-Jtag and CrosswWorks continues to work with Jtag
> > wiggler until i shut down the LPC board and power it on again. Then a
> > again have to start h-jtag in order to continue to work in CrossWorks.
>
> Did you copy my design exactly? I took a lot of care over the
layout, which
> is why it works better than a Wiggler, although the circuit is
virtually the
> same.
>
> Leon
>

I did not copy your design exactly and I did not have low voltage
74244 device so I used 74HC244.

Zarko
Hi,

> Mine works without any problem with CW + LPC (don't need H-JTAG). Works
> with CW + STM32 too, but after some time of use Windows XP give me a blue
> screen.

That's for our extra-special-value customers.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
----- Original Message -----
From: "zarko.nikolic"
To:
Sent: Tuesday, February 19, 2008 12:07 PM
Subject: [lpc2000] Re: INTERESTING Rowley Crossworks 1.7 - jtag wiggler
problem
> --- In l..., "Leon" wrote:
>>
>> ----- Original Message -----
>> From: "zarko.nikolic"
>> To:
>> Sent: Tuesday, February 19, 2008 11:50 AM
>> Subject: [lpc2000] Re: INTERESTING Rowley Crossworks 1.7 - jtag wiggler
>> problem
>> >> My JTAG works OK with CrossWorks. It only uses TDI, TCLK, TMS, TDO
>> > and RST.
>> >>
>> >> Leon
>> >>
>> >
>> > The JTAG Wiggler that i made also works with CrossWorks but only after
>> > I start H-Jtag (h-jtag identifies ARM).
>> > Later I can quit H-Jtag and CrosswWorks continues to work with Jtag
>> > wiggler until i shut down the LPC board and power it on again. Then a
>> > again have to start h-jtag in order to continue to work in CrossWorks.
>>
>> Did you copy my design exactly? I took a lot of care over the
> layout, which
>> is why it works better than a Wiggler, although the circuit is
> virtually the
>> same.
>>
>> Leon
>> I did not copy your design exactly and I did not have low voltage
> 74244 device so I used 74HC244.

I'm using the 74HC244. What changes did you make?

Leon