Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

How to debug the debuging interface ?

How to debug the debuging interface ?

2005-02-05 by Jan Szymanski

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.

Re: [lpc2000] How to debug the debuging interface ?

2005-02-05 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "Jan Szymanski" <janek@...>
To: <lpc2000@yahoogroups.com>
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

Re: How to debug the debuging interface ?

2005-02-05 by Jan Szymanski

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 lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@d...> 
wrote:
> ----- Original Message ----- 
> From: "Jan Szymanski" <janek@b...>
> To: <lpc2000@yahoogroups.com>
> 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

RE: [lpc2000] Re: How to debug the debuging interface ?

2005-02-05 by Milos Prokic

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

Cheers,

m.

 

  _____  
Show quoted textHide quoted text
From: Jan Szymanski [mailto:janek@...] 
Sent: Saturday, February 05, 2005 7:42 AM
To: lpc2000@yahoogroups.com
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 lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@d...> 
wrote:
> ----- Original Message ----- 
> From: "Jan Szymanski" <janek@b...>
> To: <lpc2000@yahoogroups.com>
> 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

*	To visit your group on the web, go to:
http://groups.yahoo.com/group/lpc2000/
  
*	To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  
*	Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service. 



[Non-text portions of this message have been removed]

RE: [lpc2000] Re: How to debug the debuging interface ?

2005-02-05 by Paul Curtis

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 
Show quoted textHide quoted text
> -----Original Message-----
> From: Jan Szymanski [mailto:janek@...] 
> Sent: 05 February 2005 12:42
> To: lpc2000@yahoogroups.com
> 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 lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@d...>
> wrote:
> > ----- Original Message -----
> > From: "Jan Szymanski" <janek@b...>
> > To: <lpc2000@yahoogroups.com>
> > 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
> 
> 
> 
>  
> 
> 
> 
> 
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.