Forums

Wiggler with LPC2124

Started by yekai1k April 7, 2005

Hi

I made a wiggler board according to the Wiggler Schematic posted in the
Files folders, but it can not work properly with my LPC2124 chips.

I'v tried many RDI software like BanyanII(http://armdebug.27h.com/)
ARMJtagDebugFinal 1.5.1 (http://armjtag.27h.com) and some others, none
could work with my board.

Both BanyanII and ARMJtagDebugFinal could detect ARM7TDMI-S core, but
while debugging, BanyanII report "warning 05 data abort",
ARMJtagDebugFinal did download the ture promgram to the chip, it just
could control the chip to run or stop.

Did anyone have the same experience like me?
Could you give me some advises?

thanks !



An Engineer's Guide to the LPC2100 Series

----- Original Message -----
From: "yekai1k" <yekai1k@yeka...>
To: <lpc2000@lpc2...>
Sent: Friday, April 08, 2005 2:26 AM
Subject: [lpc2000] Wiggler with LPC2124 >
>
> Hi
>
> I made a wiggler board according to the Wiggler Schematic posted in the
> Files folders, but it can not work properly with my LPC2124 chips.
>
> I'v tried many RDI software like BanyanII(http://armdebug.27h.com/)
> ARMJtagDebugFinal 1.5.1 (http://armjtag.27h.com) and some others, none
> could work with my board.
>
> Both BanyanII and ARMJtagDebugFinal could detect ARM7TDMI-S core, but
> while debugging, BanyanII report "warning 05 data abort",
> ARMJtagDebugFinal did download the ture promgram to the chip, it just
> could control the chip to run or stop.
>
> Did anyone have the same experience like me?
> Could you give me some advises?

Have you tried the Macraigor OCD Commander software? That is intended for
use with the Wiggler. Which Wiggler schematic did you use?

Leon
--
Leon Heller, G1HSM
http://webspace.webring.com/people/jl/leon_heller/



I made the wiggler board according to the file named "Wiggler
Schematic.pdf" in the JTAG folder.
I haven't tried OCD Commander, I will do it immediately.

Thanks

--- In lpc2000@lpc2..., "Leon Heller" <leon.heller@d...>
wrote:
> ----- Original Message -----
> From: "yekai1k" <yekai1k@y...>
> To: <lpc2000@lpc2...>
> Sent: Friday, April 08, 2005 2:26 AM
> Subject: [lpc2000] Wiggler with LPC2124 > >
> >
> > Hi
> >
> > I made a wiggler board according to the Wiggler Schematic posted
in the
> > Files folders, but it can not work properly with my LPC2124
chips.
> >
> > I'v tried many RDI software like BanyanII
(http://armdebug.27h.com/)
> > ARMJtagDebugFinal 1.5.1 (http://armjtag.27h.com) and some
others, none
> > could work with my board.
> >
> > Both BanyanII and ARMJtagDebugFinal could detect ARM7TDMI-S
core, but
> > while debugging, BanyanII report "warning 05 data abort",
> > ARMJtagDebugFinal did download the ture promgram to the chip, it
just
> > could control the chip to run or stop.
> >
> > Did anyone have the same experience like me?
> > Could you give me some advises?
>
> Have you tried the Macraigor OCD Commander software? That is
intended for
> use with the Wiggler. Which Wiggler schematic did you use?
>
> Leon
> --
> Leon Heller, G1HSM
> http://webspace.webring.com/people/jl/leon_heller/



----- Original Message -----
From: "yekai1k" <yekai1k@yeka...>
To: <lpc2000@lpc2...>
Sent: Friday, April 08, 2005 5:45 AM
Subject: [lpc2000] Re: Wiggler with LPC2124 >
>
> I made the wiggler board according to the file named "Wiggler
> Schematic.pdf" in the JTAG folder.
> I haven't tried OCD Commander, I will do it immediately.

You could try my JTAG interface design in jtag.zip. I know that works OK as
I use it myself. The one you are using won't work with OCD Commander without
a slight mod. - pins 8 and 15 on the DB-25 connector need to be connected.
The current OCD Commander software looks for that connection.

Leon
--
Leon Heller, G1HSM
http://webspace.webring.com/people/jl/leon_heller/


Hello Leon,
I am using your circuit without problems. I had only one issue.

In your schematic is a HC244 buffer. The problem with this one, at least
with the Philips type, it is not 5V tolerant. If it is powered by 3.3V
then the inputs should not exceed 3.3V. It depends on the LPT port if
this will happen. I think the LVC244 is a better choice just in case the
LPT port delivers strong 5V levels. I have seen situations where the
3.3V of the circuit was lifted by the voltage from the LPT port.
(Because of the diodes between the input and the VCC in the HC device)

We are using the Rowley CrossWorks software.
(Nice software and very fast responding support people)

Best Regards,
Aalt

--
==============================
Aalt Lokhorst
Schut Geometrische Meettechniek bv
Duinkerkenstraat 21
9723 BN Groningen
P.O. Box 5225
9700 GE Groningen
The Netherlands
Tel: +31-50-5877877
Fax: +31-50-5877899
E-mail: Lokhorst@Lokh...
==============================
Leon Heller wrote:

> You could try my JTAG interface design in jtag.zip. I know that works OK as
> I use it myself. The one you are using won't work with OCD Commander
> without
> a slight mod. - pins 8 and 15 on the DB-25 connector need to be connected.
> The current OCD Commander software looks for that connection.
>
> Leon
> --
> Leon Heller, G1HSM
> http://webspace.webring.com/people/jl/leon_heller/




----- Original Message -----
From: "Aalt Lokhorst" <lokhorst@lokh...>
To: <lpc2000@lpc2...>
Sent: Friday, April 08, 2005 11:26 AM
Subject: Re: [lpc2000] Re: Wiggler with LPC2124 >
> Hello Leon,
> I am using your circuit without problems. I had only one issue.
>
> In your schematic is a HC244 buffer. The problem with this one, at least
> with the Philips type, it is not 5V tolerant. If it is powered by 3.3V
> then the inputs should not exceed 3.3V. It depends on the LPT port if
> this will happen. I think the LVC244 is a better choice just in case the
> LPT port delivers strong 5V levels. I have seen situations where the
> 3.3V of the circuit was lifted by the voltage from the LPT port.
> (Because of the diodes between the input and the VCC in the HC device)

I just checked the voltages on my port and they were about 4.8 V, but I
haven't had any problems; I used the Philips part, but all HC parts should
be the same. I'll amend the design, anyway. >
> We are using the Rowley CrossWorks software.
> (Nice software and very fast responding support people)

I use their software as well.

Leon
--
Leon Heller, G1HSM
http://webspace.webring.com/people/jl/leon_heller/


Hello Leon,

In first instance I used a HC244 and it was working fine in combination
with the KEIL MCB2100 board. After several days I connected some extra
hardware to the board and I was debugging the circuit with the
oscilloscope. A 'led blink' program was running and I saw the 3.3V
supply 'bouncing' between 3.3V and 3.6V. If the leds were 'on' then
circuit was sinking more current than the LPT port could deliver and the
result was 3.3V. If the leds were 'off' then the circuit was powered by
the LPT-port instead of the 3.3V regulator. If I didn't measure the
voltage in the circuit then I probably never discovered this because the
software was running as expected.

BTW there is another power issue but this is related to the MCB2100
board. On my MCB2100 board the 3.3V supply had a ripple. I read the
datasheets from the LD1117S33 regulator, which is used on the MCB2100,
and found that all the specs were based on a circuit whit a 10uF output
capacitor on the regulator. As far as I know this capacitor is not
present on the MCB2100 board. I soldered one at the bottom of the board
and now the ripple is gone and the voltage is a stable 3.3V.

Have a nice weekend,
Aalt

--
==============================
Aalt Lokhorst
Schut Geometrische Meettechniek bv
Duinkerkenstraat 21
9723 BN Groningen
P.O. Box 5225
9700 GE Groningen
The Netherlands
Tel: +31-50-5877877
Fax: +31-50-5877899
E-mail: Lokhorst@Lokh...
==============================

Leon Heller wrote:
> ----- Original Message -----
> From: "Aalt Lokhorst" <lokhorst@lokh...>
> To: <lpc2000@lpc2...>
> Sent: Friday, April 08, 2005 11:26 AM
> Subject: Re: [lpc2000] Re: Wiggler with LPC2124 > >
> > Hello Leon,
> > I am using your circuit without problems. I had only one issue.
> >
> > In your schematic is a HC244 buffer. The problem with this one, at least
> > with the Philips type, it is not 5V tolerant. If it is powered by 3.3V
> > then the inputs should not exceed 3.3V. It depends on the LPT port if
> > this will happen. I think the LVC244 is a better choice just in case the
> > LPT port delivers strong 5V levels. I have seen situations where the
> > 3.3V of the circuit was lifted by the voltage from the LPT port.
> > (Because of the diodes between the input and the VCC in the HC device)
>
> I just checked the voltages on my port and they were about 4.8 V, but I
> haven't had any problems; I used the Philips part, but all HC parts should
> be the same. I'll amend the design, anyway. > >
> > We are using the Rowley CrossWorks software.
> > (Nice software and very fast responding support people)
>
> I use their software as well.
>
> Leon
> --
> Leon Heller, G1HSM
> http://webspace.webring.com/people/jl/leon_heller/ >
> *>.




----- Original Message -----
From: "Aalt Lokhorst" <lokhorst@lokh...>
To: <lpc2000@lpc2...>
Sent: Friday, April 08, 2005 12:57 PM
Subject: Re: [lpc2000] Re: Wiggler with LPC2124 >
> Hello Leon,
>
> In first instance I used a HC244 and it was working fine in combination
> with the KEIL MCB2100 board. After several days I connected some extra
> hardware to the board and I was debugging the circuit with the
> oscilloscope. A 'led blink' program was running and I saw the 3.3V
> supply 'bouncing' between 3.3V and 3.6V. If the leds were 'on' then
> circuit was sinking more current than the LPT port could deliver and the
> result was 3.3V. If the leds were 'off' then the circuit was powered by
> the LPT-port instead of the 3.3V regulator. If I didn't measure the
> voltage in the circuit then I probably never discovered this because the
> software was running as expected.
>
> BTW there is another power issue but this is related to the MCB2100
> board. On my MCB2100 board the 3.3V supply had a ripple. I read the
> datasheets from the LD1117S33 regulator, which is used on the MCB2100,
> and found that all the specs were based on a circuit whit a 10uF output
> capacitor on the regulator. As far as I know this capacitor is not
> present on the MCB2100 board. I soldered one at the bottom of the board
> and now the ripple is gone and the voltage is a stable 3.3V.

I thought everyone put a 10 uF capacitor on regulator outputs feeding high
speed circuits. 8-)

Leon
--
Leon Heller, G1HSM
http://webspace.webring.com/people/jl/leon_heller/



Hello Leon

I down load OCD Commander and short P1.8 and P1.15 as you mentioned .
OCD Commander can read the register and cpu status, but while i
trying to download the elf file, it reports
*******************
D:\beep.elf: downloaded 1388 bytes in 0 minutes, 0.589 seconds
Error during download
PC set to starting address 0x00000000
*******************

This phenomenon is samilar to using armdebugfinal software.
If wiggler is doing well with lpc2104why it can not going along
with my lpc2124 chip. Faint...
I am trying my best to find it out.

Thanks for your help again.
Have a good day!

--- In lpc2000@lpc2..., "Leon Heller" <leon.heller@d...>
wrote:
> ----- Original Message -----
> From: "yekai1k" <yekai1k@y...>
> To: <lpc2000@lpc2...>
> Sent: Friday, April 08, 2005 5:45 AM
> Subject: [lpc2000] Re: Wiggler with LPC2124 > >
> >
> > I made the wiggler board according to the file named "Wiggler
> > Schematic.pdf" in the JTAG folder.
> > I haven't tried OCD Commander, I will do it immediately.
>
> You could try my JTAG interface design in jtag.zip. I know that
works OK as
> I use it myself. The one you are using won't work with OCD
Commander without
> a slight mod. - pins 8 and 15 on the DB-25 connector need to be
connected.
> The current OCD Commander software looks for that connection.
>
> Leon
> --
> Leon Heller, G1HSM
> http://webspace.webring.com/people/jl/leon_heller/



----- Original Message -----
From: "yekai1k" <yekai1k@yeka...>
To: <lpc2000@lpc2...>
Sent: Monday, April 11, 2005 8:45 AM
Subject: [lpc2000] Re: Wiggler with LPC2124

Hello Leon

I down load OCD Commander and short P1.8 and P1.15 as you mentioned .
OCD Commander can read the register and cpu status, but while i
trying to download the elf file, it reports
*******************
D:\beep.elf: downloaded 1388 bytes in 0 minutes, 0.589 seconds
Error during download
PC set to starting address 0x00000000
*******************

This phenomenon is samilar to using armdebugfinal software.
If wiggler is doing well with lpc2104why it can not going along
with my lpc2124 chip. Faint...
I am trying my best to find it out.

That is strange. I've only used it with the LPC210x, so can't help.

Leon