Forums

How to debug the debuging interface ?

Started by Jan Szymanski February 5, 2005

I have samples of LPC2138 and I built a prototype board.
With an evaluation version of CrossStudio I created a simple blinking
LEDs application.
Using Philips flash utility I am able to program the micro and it
works. Have problems however with debugging and programming through
JTAG. I tried both JLink and Olimex wiggler compatible jtags, which
are working fine with another board (IAR Kicstart Kit for LPC2106)
using either IAR or RA software.
With 2138 board I am able to connect to JTAG (from CrossStudio menu),
but when trying to do anything else, JTAG is loosing communication
with the target.
My JTAG interface hardware is a copy of the one used on the Keil
MCB2130 evaluation board (see schematic here
http://www.keil.com/mcb2130/mcb2130-schematics.pdf )
I checked the connections and all looks OK.
The supply voltage (+3.3V) is very clean and connections between
microcontroller and JTAG socket are rather short.
Any hints or suggestions will be appreciated.

Jan.


An Engineer's Guide to the LPC2100 Series

----- Original Message -----
From: "Jan Szymanski" <>
To: <>
Sent: Saturday, February 05, 2005 9:45 AM
Subject: [lpc2000] How to debug the debuging interface ? >
>
> I have samples of LPC2138 and I built a prototype board.
> With an evaluation version of CrossStudio I created a simple blinking
> LEDs application.
> Using Philips flash utility I am able to program the micro and it
> works. Have problems however with debugging and programming through
> JTAG. I tried both JLink and Olimex wiggler compatible jtags, which
> are working fine with another board (IAR Kicstart Kit for LPC2106)
> using either IAR or RA software.
> With 2138 board I am able to connect to JTAG (from CrossStudio menu),
> but when trying to do anything else, JTAG is loosing communication
> with the target.
> My JTAG interface hardware is a copy of the one used on the Keil
> MCB2130 evaluation board (see schematic here
> http://www.keil.com/mcb2130/mcb2130-schematics.pdf )
> I checked the connections and all looks OK.
> The supply voltage (+3.3V) is very clean and connections between
> microcontroller and JTAG socket are rather short.
> Any hints or suggestions will be appreciated.

Have you tried using a slower interface setting for the JTAG?

Leon --



With CrossStudio and J-Link it seems to be not possible to change the
speed of JTAG. I have tried it with Wiggler and have no luck at all.

Jan.

--- In , "Leon Heller" <leon.heller@d...>
wrote:
> ----- Original Message -----
> From: "Jan Szymanski" <janek@b...>
> To: <>
> Sent: Saturday, February 05, 2005 9:45 AM
> Subject: [lpc2000] How to debug the debuging interface ? > >
> >
> > I have samples of LPC2138 and I built a prototype board.
> > With an evaluation version of CrossStudio I created a simple
blinking
> > LEDs application.
> > Using Philips flash utility I am able to program the micro and it
> > works. Have problems however with debugging and programming
through
> > JTAG. I tried both JLink and Olimex wiggler compatible jtags,
which
> > are working fine with another board (IAR Kicstart Kit for LPC2106)
> > using either IAR or RA software.
> > With 2138 board I am able to connect to JTAG (from CrossStudio
menu),
> > but when trying to do anything else, JTAG is loosing
communication
> > with the target.
> > My JTAG interface hardware is a copy of the one used on the Keil
> > MCB2130 evaluation board (see schematic here
> > http://www.keil.com/mcb2130/mcb2130-schematics.pdf )
> > I checked the connections and all looks OK.
> > The supply voltage (+3.3V) is very clean and connections between
> > microcontroller and JTAG socket are rather short.
> > Any hints or suggestions will be appreciated.
>
> Have you tried using a slower interface setting for the JTAG?
>
> Leon > --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date:
03/02/2005



Under JTAG in target properties there is an entry for JTAG Clock Divider.
The bigger the divider the slower the clock :-)

Cheers,

m.
_____

From: Jan Szymanski [mailto:]
Sent: Saturday, February 05, 2005 7:42 AM
To:
Subject: [lpc2000] Re: How to debug the debuging interface ?

With CrossStudio and J-Link it seems to be not possible to change the
speed of JTAG. I have tried it with Wiggler and have no luck at all.

Jan.

--- In , "Leon Heller" <leon.heller@d...>
wrote:
> ----- Original Message -----
> From: "Jan Szymanski" <janek@b...>
> To: <>
> Sent: Saturday, February 05, 2005 9:45 AM
> Subject: [lpc2000] How to debug the debuging interface ? > >
> >
> > I have samples of LPC2138 and I built a prototype board.
> > With an evaluation version of CrossStudio I created a simple
blinking
> > LEDs application.
> > Using Philips flash utility I am able to program the micro and it
> > works. Have problems however with debugging and programming
through
> > JTAG. I tried both JLink and Olimex wiggler compatible jtags,
which
> > are working fine with another board (IAR Kicstart Kit for LPC2106)
> > using either IAR or RA software.
> > With 2138 board I am able to connect to JTAG (from CrossStudio
menu),
> > but when trying to do anything else, JTAG is loosing
communication
> > with the target.
> > My JTAG interface hardware is a copy of the one used on the Keil
> > MCB2130 evaluation board (see schematic here
> > http://www.keil.com/mcb2130/mcb2130-schematics.pdf )
> > I checked the connections and all looks OK.
> > The supply voltage (+3.3V) is very clean and connections between
> > microcontroller and JTAG socket are rather short.
> > Any hints or suggestions will be appreciated.
>
> Have you tried using a slower interface setting for the JTAG?
>
> Leon > --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date:
03/02/2005
_____

> Terms of Service.


Try getting the latest J-Link drivers; it works for many of our
customers.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and (soon) MAXQ processors

> -----Original Message-----
> From: Jan Szymanski [mailto:]
> Sent: 05 February 2005 12:42
> To:
> Subject: [lpc2000] Re: How to debug the debuging interface ? >
> With CrossStudio and J-Link it seems to be not possible to
> change the speed of JTAG. I have tried it with Wiggler and
> have no luck at all.
>
> Jan.
>
> --- In , "Leon Heller" <leon.heller@d...>
> wrote:
> > ----- Original Message -----
> > From: "Jan Szymanski" <janek@b...>
> > To: <>
> > Sent: Saturday, February 05, 2005 9:45 AM
> > Subject: [lpc2000] How to debug the debuging interface ?
> >
> >
> > >
> > >
> > > I have samples of LPC2138 and I built a prototype board.
> > > With an evaluation version of CrossStudio I created a simple
> blinking
> > > LEDs application.
> > > Using Philips flash utility I am able to program the micro and it
> > > works. Have problems however with debugging and programming
> through
> > > JTAG. I tried both JLink and Olimex wiggler compatible jtags,
> which
> > > are working fine with another board (IAR Kicstart Kit for
> LPC2106)
> > > using either IAR or RA software.
> > > With 2138 board I am able to connect to JTAG (from CrossStudio
> menu),
> > > but when trying to do anything else, JTAG is loosing
> communication
> > > with the target.
> > > My JTAG interface hardware is a copy of the one used on the Keil
> > > MCB2130 evaluation board (see schematic here
> > > http://www.keil.com/mcb2130/mcb2130-schematics.pdf ) I
> checked the
> > > connections and all looks OK.
> > > The supply voltage (+3.3V) is very clean and connections between
> > > microcontroller and JTAG socket are rather short.
> > > Any hints or suggestions will be appreciated.
> >
> > Have you tried using a slower interface setting for the JTAG?
> >
> > Leon
> >
> >
> > --
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date:
> 03/02/2005 >
> Yahoo! Groups Links >