Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | Re: more JTAG woes - new prototype with LPC2148

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

more JTAG woes - new prototype with LPC2148 - Sutton Mehaffey - Jun 5 11:46:33 2008

I go thru this every revision of our board, but have not found out
what the culprit is. Every time we get a new revision, I have a lot
of trouble getting the CPU to program thru JTAG (Keil) (Communications
Failure), and this time is no different. But, this time, I just
populated the parts necessary to program the CPU and nothing else.
But still no luck.

11.0592 Osc.
2 supporting 39pf mica caps.
.1uf caps on all the 3.3V pins (4 of them)
10uf cap on the 3.3V line
P0.14 pulled high
P0.31 pulled high
TDI, TDO, TMS, TCK pulled high
RTCK pulled low
Reset is high.
OSC is running.

Anything missing?

I have an XPLA on the board that programs fine and always has. I
don't know why I have so much trouble initially getting the JTAG working.

Sutton

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



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


Re: more JTAG woes - new prototype with LPC2148 - Michael Gray - Jun 5 11:56:28 2008

Should TRST get pulled high?

Should TCK get pulled low instead of high?

10K pull ups?

I've designed 5 or 6 different systems around LPC214x variants all with
JTAG without any problems. Knock on wood the next one works. :) Olimex
uses the same design on their LPC2148 board.

http://olimex.com/dev/pdf/LPC-P2148.pdf

Sutton Mehaffey wrote:
> I go thru this every revision of our board, but have not found out
> what the culprit is. Every time we get a new revision, I have a lot
> of trouble getting the CPU to program thru JTAG (Keil) (Communications
> Failure), and this time is no different. But, this time, I just
> populated the parts necessary to program the CPU and nothing else.
> But still no luck.
>
> 11.0592 Osc.
> 2 supporting 39pf mica caps.
> .1uf caps on all the 3.3V pins (4 of them)
> 10uf cap on the 3.3V line
> P0.14 pulled high
> P0.31 pulled high
> TDI, TDO, TMS, TCK pulled high
> RTCK pulled low
> Reset is high.
> OSC is running.
>
> Anything missing?
>
> I have an XPLA on the board that programs fine and always has. I
> don't know why I have so much trouble initially getting the JTAG working.
>
> Sutton
> ------------------------------------



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

Re: more JTAG woes - new prototype with LPC2148 - Sutton Mehaffey - Jun 5 12:00:12 2008

TCK is pulled low, mistake in posting.
10K pullups, yes.
Looked at the Olimex schematic many, many times.
TRST is pulled high. I've tried low too, but still doesn't work.

--- In l...@yahoogroups.com, Michael Gray wrote:
>
> Should TRST get pulled high?
>
> Should TCK get pulled low instead of high?
>
> 10K pull ups?
>
> I've designed 5 or 6 different systems around LPC214x variants all with
> JTAG without any problems. Knock on wood the next one works. :)
Olimex
> uses the same design on their LPC2148 board.
>
> http://olimex.com/dev/pdf/LPC-P2148.pdf
>
> Sutton Mehaffey wrote:
> > I go thru this every revision of our board, but have not found out
> > what the culprit is. Every time we get a new revision, I have a lot
> > of trouble getting the CPU to program thru JTAG (Keil) (Communications
> > Failure), and this time is no different. But, this time, I just
> > populated the parts necessary to program the CPU and nothing else.
> > But still no luck.
> >
> > 11.0592 Osc.
> > 2 supporting 39pf mica caps.
> > .1uf caps on all the 3.3V pins (4 of them)
> > 10uf cap on the 3.3V line
> > P0.14 pulled high
> > P0.31 pulled high
> > TDI, TDO, TMS, TCK pulled high
> > RTCK pulled low
> > Reset is high.
> > OSC is running.
> >
> > Anything missing?
> >
> > I have an XPLA on the board that programs fine and always has. I
> > don't know why I have so much trouble initially getting the JTAG
working.
> >
> > Sutton
> >
> >
> >
> >
> >
> >
> > ------------------------------------
> >
> >



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

Re: Re: more JTAG woes - new prototype with LPC2148 - Leon - Jun 5 12:21:23 2008

----- Original Message -----
From: "Sutton Mehaffey"
To:
Sent: Thursday, June 05, 2008 5:00 PM
Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148
> TCK is pulled low, mistake in posting.
> 10K pullups, yes.
> Looked at the Olimex schematic many, many times.
> TRST is pulled high. I've tried low too, but still doesn't work.

Are you sure that the leads on the LPC2148 are properly connected? They can
look OK, but still have poor solder joints.

Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
l...@btinternet.com
http://www.geocities.com/leon_heller
------------------------------------



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

RE: Re: more JTAG woes - new prototype with LPC2148 - Dan Beadle - Jun 5 12:24:14 2008

In order of priority:

1. Try simply connecting and viewing - can the JTag attach at all? (I
am assuming not)

2. Make sure that you have the ISP control inputs pulled the proper
direction. If you don't, the boot loader doesn't enable the JTag input.
This is a very common design error.

3. Check that your crystal is working.

4. Verify power is good - not getting brown out interrupts.

I use JLink - it has jmem exe which virtually always attaches to dump good
hardware. Look for something similar in your environment to make sure that
it isn't something with your IDE configuration.

From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf Of
Sutton Mehaffey
Sent: Thursday, June 05, 2008 9:00 AM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148

TCK is pulled low, mistake in posting.
10K pullups, yes.
Looked at the Olimex schematic many, many times.
TRST is pulled high. I've tried low too, but still doesn't work.

--- In l...@yahoogroups.com , Michael
Gray wrote:
>
> Should TRST get pulled high?
>
> Should TCK get pulled low instead of high?
>
> 10K pull ups?
>
> I've designed 5 or 6 different systems around LPC214x variants all with
> JTAG without any problems. Knock on wood the next one works. :)
Olimex
> uses the same design on their LPC2148 board.
>
> http://olimex.com/dev/pdf/LPC-P2148.pdf
>
> Sutton Mehaffey wrote:
> > I go thru this every revision of our board, but have not found out
> > what the culprit is. Every time we get a new revision, I have a lot
> > of trouble getting the CPU to program thru JTAG (Keil) (Communications
> > Failure), and this time is no different. But, this time, I just
> > populated the parts necessary to program the CPU and nothing else.
> > But still no luck.
> >
> > 11.0592 Osc.
> > 2 supporting 39pf mica caps.
> > .1uf caps on all the 3.3V pins (4 of them)
> > 10uf cap on the 3.3V line
> > P0.14 pulled high
> > P0.31 pulled high
> > TDI, TDO, TMS, TCK pulled high
> > RTCK pulled low
> > Reset is high.
> > OSC is running.
> >
> > Anything missing?
> >
> > I have an XPLA on the board that programs fine and always has. I
> > don't know why I have so much trouble initially getting the JTAG
working.
> >
> > Sutton
> >
> >
> >
> >
> >
> >
> > ------------------------------------
> >
> >



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

Re: more JTAG woes - new prototype with LPC2148 - Sutton Mehaffey - Jun 5 12:24:21 2008

Best we can tell. We have 2 boards that program an XPLA fine thru
JTAG (different connector), but not the CPUs.

--- In l...@yahoogroups.com, "Leon" wrote:
>
> ----- Original Message -----
> From: "Sutton Mehaffey"
> To:
> Sent: Thursday, June 05, 2008 5:00 PM
> Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148
> > TCK is pulled low, mistake in posting.
> > 10K pullups, yes.
> > Looked at the Olimex schematic many, many times.
> > TRST is pulled high. I've tried low too, but still doesn't work.
>
> Are you sure that the leads on the LPC2148 are properly connected?
They can
> look OK, but still have poor solder joints.
>
> Leon
> --
> Leon Heller
> Amateur radio call-sign G1HSM
> Yaesu FT-817ND transceiver
> Suzuki SV1000S motorcycle
> leon355@...
> http://www.geocities.com/leon_heller
>

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



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

Re: Re: more JTAG woes - new prototype with LPC2148 - Leon - Jun 5 12:36:32 2008

----- Original Message -----
From: "Sutton Mehaffey"
To:
Sent: Thursday, June 05, 2008 5:24 PM
Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148
> Best we can tell. We have 2 boards that program an XPLA fine thru
> JTAG (different connector), but not the CPUs.

I would still go over the leads again with a soldering iron, to make sure.
Checking them for continuity can be misleading, as the probe pressure can
mask a connection problem.

Leon
------------------------------------



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

Re: Re: more JTAG woes - new prototype with LPC2148 - Michael Gray - Jun 5 12:37:57 2008

Do you have a bad JTAG pod? Sometimes ESD or just a failure can cause a
problem. Did you try re-installing the JTAG driver? Check for a new
driver version? Do you have an Olimex board you can use to verify your
JTAG setup? For $100, it is a cheap way to eliminate a lot of unknowns.

Is the part erased properly so the JTAG interface is enabled? I think
if the code protect bits are set, the JTAG interface can be disabled and
you can only access the part through the UART0 ISP interface.

Sutton Mehaffey wrote:
> TCK is pulled low, mistake in posting.
> 10K pullups, yes.
> Looked at the Olimex schematic many, many times.
> TRST is pulled high. I've tried low too, but still doesn't work.
> --- In l...@yahoogroups.com, Michael Gray wrote:
>> Should TRST get pulled high?
>>
>> Should TCK get pulled low instead of high?
>>
>> 10K pull ups?
>>
>> I've designed 5 or 6 different systems around LPC214x variants all with
>> JTAG without any problems. Knock on wood the next one works. :)
> Olimex
>> uses the same design on their LPC2148 board.
>>
>> http://olimex.com/dev/pdf/LPC-P2148.pdf
>>
>> Sutton Mehaffey wrote:
>>> I go thru this every revision of our board, but have not found out
>>> what the culprit is. Every time we get a new revision, I have a lot
>>> of trouble getting the CPU to program thru JTAG (Keil) (Communications
>>> Failure), and this time is no different. But, this time, I just
>>> populated the parts necessary to program the CPU and nothing else.
>>> But still no luck.
>>>
>>> 11.0592 Osc.
>>> 2 supporting 39pf mica caps.
>>> .1uf caps on all the 3.3V pins (4 of them)
>>> 10uf cap on the 3.3V line
>>> P0.14 pulled high
>>> P0.31 pulled high
>>> TDI, TDO, TMS, TCK pulled high
>>> RTCK pulled low
>>> Reset is high.
>>> OSC is running.
>>>
>>> Anything missing?
>>>
>>> I have an XPLA on the board that programs fine and always has. I
>>> don't know why I have so much trouble initially getting the JTAG
> working.
>>> Sutton
>>>
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>>



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

Re: more JTAG woes - new prototype with LPC2148 - Sutton Mehaffey - Jun 5 13:26:17 2008

It's a board problem. My previous revision of the board programs
fine. So, it's not the JTAG wiggler itself.

I haven't tried the serial programming. I do have provisions for
that, but don't have the parts populated.

I wouldn't think you had to program it serially first. I never have.

--- In l...@yahoogroups.com, Michael Gray wrote:
>
> Do you have a bad JTAG pod? Sometimes ESD or just a failure can
cause a
> problem. Did you try re-installing the JTAG driver? Check for a new
> driver version? Do you have an Olimex board you can use to verify your
> JTAG setup? For $100, it is a cheap way to eliminate a lot of unknowns.
>
> Is the part erased properly so the JTAG interface is enabled? I think
> if the code protect bits are set, the JTAG interface can be disabled
and
> you can only access the part through the UART0 ISP interface.
>
> Sutton Mehaffey wrote:
> > TCK is pulled low, mistake in posting.
> > 10K pullups, yes.
> > Looked at the Olimex schematic many, many times.
> > TRST is pulled high. I've tried low too, but still doesn't work.
> >
> >
> >
> >
> > --- In l...@yahoogroups.com, Michael Gray wrote:
> >> Should TRST get pulled high?
> >>
> >> Should TCK get pulled low instead of high?
> >>
> >> 10K pull ups?
> >>
> >> I've designed 5 or 6 different systems around LPC214x variants
all with
> >> JTAG without any problems. Knock on wood the next one works. :)
> > Olimex
> >> uses the same design on their LPC2148 board.
> >>
> >> http://olimex.com/dev/pdf/LPC-P2148.pdf
> >>
> >>
> >>
> >> Sutton Mehaffey wrote:
> >>> I go thru this every revision of our board, but have not found out
> >>> what the culprit is. Every time we get a new revision, I have a lot
> >>> of trouble getting the CPU to program thru JTAG (Keil)
(Communications
> >>> Failure), and this time is no different. But, this time, I just
> >>> populated the parts necessary to program the CPU and nothing else.
> >>> But still no luck.
> >>>
> >>> 11.0592 Osc.
> >>> 2 supporting 39pf mica caps.
> >>> .1uf caps on all the 3.3V pins (4 of them)
> >>> 10uf cap on the 3.3V line
> >>> P0.14 pulled high
> >>> P0.31 pulled high
> >>> TDI, TDO, TMS, TCK pulled high
> >>> RTCK pulled low
> >>> Reset is high.
> >>> OSC is running.
> >>>
> >>> Anything missing?
> >>>
> >>> I have an XPLA on the board that programs fine and always has. I
> >>> don't know why I have so much trouble initially getting the JTAG
> > working.
> >>> Sutton
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ------------------------------------
> >>>
> >>>



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

Re: Re: more JTAG woes - new prototype with LPC2148 - Herbert Demmel - Jun 6 4:13:39 2008

I myself found the old version of the ULINK being unreliable and had
starting problems rather often (I had to reboot the PC several
times). Using ULINK2 now solved these problems.

Herbert

At 16:24 05.06.2008 +0000, you wrote:
>Best we can tell. We have 2 boards that program an XPLA fine thru
>JTAG (different connector), but not the CPUs.
>
>--- In l...@yahoogroups.com, "Leon" wrote:
> >
> > ----- Original Message -----
> > From: "Sutton Mehaffey"
> > To:
> > Sent: Thursday, June 05, 2008 5:00 PM
> > Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148
> >
> >
> > > TCK is pulled low, mistake in posting.
> > > 10K pullups, yes.
> > > Looked at the Olimex schematic many, many times.
> > > TRST is pulled high. I've tried low too, but still doesn't work.
> >
> > Are you sure that the leads on the LPC2148 are properly connected?
>They can
> > look OK, but still have poor solder joints.
> >
> > Leon
> > --
> > Leon Heller
> > Amateur radio call-sign G1HSM
> > Yaesu FT-817ND transceiver
> > Suzuki SV1000S motorcycle
> > leon355@...
> > http://www.geocities.com/leon_heller
------------------------------------



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

Re: more JTAG woes - new prototype with LPC2148 - Sutton Mehaffey - Jun 6 8:36:17 2008

Well, I figured out the problem. It turned out not to be any type of
JTAG issue at all. In our new revision, the hardware designers
changed the 3.3V regulator to handle more current and it requires a
22uf cap on the output instead of what was put there (10uf). This
caused stability problems and oscillation burned out the regulator in
about a minute. It's nice to be able to return the quote 'there is
never such thing as a simple hardware change' to the designers,
because whenever we software people have bugs, I always hear 'never
such thing as a simple software change'. In jest, of course.

All is well for now.

Sutton

--- In l...@yahoogroups.com, Herbert Demmel wrote:
>
> I myself found the old version of the ULINK being unreliable and had
> starting problems rather often (I had to reboot the PC several
> times). Using ULINK2 now solved these problems.
>
> Herbert
>
> At 16:24 05.06.2008 +0000, you wrote:
> >Best we can tell. We have 2 boards that program an XPLA fine thru
> >JTAG (different connector), but not the CPUs.
> >
> >
> >
> >--- In l...@yahoogroups.com, "Leon" wrote:
> > >
> > > ----- Original Message -----
> > > From: "Sutton Mehaffey"
> > > To:
> > > Sent: Thursday, June 05, 2008 5:00 PM
> > > Subject: [lpc2000] Re: more JTAG woes - new prototype with LPC2148
> > >
> > >
> > > > TCK is pulled low, mistake in posting.
> > > > 10K pullups, yes.
> > > > Looked at the Olimex schematic many, many times.
> > > > TRST is pulled high. I've tried low too, but still doesn't work.
> > >
> > > Are you sure that the leads on the LPC2148 are properly connected?
> >They can
> > > look OK, but still have poor solder joints.
> > >
> > > Leon
> > > --
> > > Leon Heller
> > > Amateur radio call-sign G1HSM
> > > Yaesu FT-817ND transceiver
> > > Suzuki SV1000S motorcycle
> > > leon355@
> > > http://www.geocities.com/leon_heller
>

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



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