Forums

Olimex LPC-H2103

Started by mrkeithcoleman January 30, 2007
I have just received the Olimex LPC-H2103 board from and I'm having
some trouble getting started.

Out of the box both jumpers are installed. I applied +5V to EXT2.17
and GND to EXT2.19. The power LED comes on and the other LED turns on,
off, then blinks rapidly. So far, so good, now I want to program the
part using the Philips LPC2000 Flash Utility V2.2.3.

I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
In either case the power LED turns on but the other LED stays off.
That makes me think the LPC2103 is in ISP mode. However, the Philips
Flash Utility will cannot talk to the board.

The Flash Utility is set for the correct COM port, 9600 baud (though I
believe it will autodetect), and XTAL freq 14745 kHz. When the util
tries to talk to the board the RS232 shifter tx led blinks but not too
brightly and the shifter rx led blinks faintly with occasional bright
flash. Once the utility times out the shifter's tx led goes off and
the rx led stays slightly illuminated. Now I'm lost.

Can anyone help?

An Engineer's Guide to the LPC2100 Series

----- Original Message -----
From: "mrkeithcoleman"
To:
Sent: Tuesday, January 30, 2007 3:12 AM
Subject: [lpc2000] Olimex LPC-H2103
>I have just received the Olimex LPC-H2103 board from and I'm having
> some trouble getting started.
>
> Out of the box both jumpers are installed. I applied +5V to EXT2.17
> and GND to EXT2.19. The power LED comes on and the other LED turns on,
> off, then blinks rapidly. So far, so good, now I want to program the
> part using the Philips LPC2000 Flash Utility V2.2.3.
>
> I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
> In either case the power LED turns on but the other LED stays off.
> That makes me think the LPC2103 is in ISP mode. However, the Philips
> Flash Utility will cannot talk to the board.
>
> The Flash Utility is set for the correct COM port, 9600 baud (though I
> believe it will autodetect), and XTAL freq 14745 kHz. When the util
> tries to talk to the board the RS232 shifter tx led blinks but not too
> brightly and the shifter rx led blinks faintly with occasional bright
> flash. Once the utility times out the shifter's tx led goes off and
> the rx led stays slightly illuminated. Now I'm lost.

I'd first check that the level shifter is working properly by disconnecting
the LPC board and connecting RxD and TxD. You should be able to see typred
characters echoed when using a terminal emulator like Realterm.

Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
l...@btinternet.com
http://webspace.webring.com/people/jl/leon_heller/
--- In l..., "mrkeithcoleman"
wrote:
>
> I have just received the Olimex LPC-H2103 board from and I'm having
> some trouble getting started.
>
> Out of the box both jumpers are installed. I applied +5V to EXT2.17
> and GND to EXT2.19. The power LED comes on and the other LED turns on,
> off, then blinks rapidly. So far, so good, now I want to program the
> part using the Philips LPC2000 Flash Utility V2.2.3.
>
> I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
> In either case the power LED turns on but the other LED stays off.
> That makes me think the LPC2103 is in ISP mode. However, the Philips
> Flash Utility will cannot talk to the board.
>
> The Flash Utility is set for the correct COM port, 9600 baud (though I
> believe it will autodetect), and XTAL freq 14745 kHz. When the util
> tries to talk to the board the RS232 shifter tx led blinks but not too
> brightly and the shifter rx led blinks faintly with occasional bright
> flash. Once the utility times out the shifter's tx led goes off and
> the rx led stays slightly illuminated. Now I'm lost.
>
> Can anyone help?
>
Try using Flash magic instead. also try to manually enter boot mode
via int0, rather than using the rs232 lines.
You connect RST pin for Reset and Boot loader selection ?

On 1/31/07, sashi ono wrote:
>
> --- In l... ,
> "mrkeithcoleman"
> wrote:
> >
> > I have just received the Olimex LPC-H2103 board from and I'm having
> > some trouble getting started.
> >
> > Out of the box both jumpers are installed. I applied +5V to EXT2.17
> > and GND to EXT2.19. The power LED comes on and the other LED turns on,
> > off, then blinks rapidly. So far, so good, now I want to program the
> > part using the Philips LPC2000 Flash Utility V2.2.3.
> >
> > I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> > P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
> > In either case the power LED turns on but the other LED stays off.
> > That makes me think the LPC2103 is in ISP mode. However, the Philips
> > Flash Utility will cannot talk to the board.
> >
> > The Flash Utility is set for the correct COM port, 9600 baud (though I
> > believe it will autodetect), and XTAL freq 14745 kHz. When the util
> > tries to talk to the board the RS232 shifter tx led blinks but not too
> > brightly and the shifter rx led blinks faintly with occasional bright
> > flash. Once the utility times out the shifter's tx led goes off and
> > the rx led stays slightly illuminated. Now I'm lost.
> >
> > Can anyone help?
> > Try using Flash magic instead. also try to manually enter boot mode
> via int0, rather than using the rs232 lines.
>

--
N-Link ARM JTAG & ARM7 Boards
--------------
http://www.friendlyarm.com
http://www.micro4you.com
http://stores.ebay.com/Micro4you-Store
--- In l..., "Leon" wrote:
>
> ----- Original Message -----
> From: "mrkeithcoleman"
> To:
> Sent: Tuesday, January 30, 2007 3:12 AM
> Subject: [lpc2000] Olimex LPC-H2103
> >I have just received the Olimex LPC-H2103 board from and I'm having
> > some trouble getting started.
> >
> > Out of the box both jumpers are installed. I applied +5V to EXT2.17
> > and GND to EXT2.19. The power LED comes on and the other LED turns on,
> > off, then blinks rapidly. So far, so good, now I want to program the
> > part using the Philips LPC2000 Flash Utility V2.2.3.
> >
> > I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> > P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
> > In either case the power LED turns on but the other LED stays off.
> > That makes me think the LPC2103 is in ISP mode. However, the Philips
> > Flash Utility will cannot talk to the board.
> >
> > The Flash Utility is set for the correct COM port, 9600 baud (though I
> > believe it will autodetect), and XTAL freq 14745 kHz. When the util
> > tries to talk to the board the RS232 shifter tx led blinks but not too
> > brightly and the shifter rx led blinks faintly with occasional bright
> > flash. Once the utility times out the shifter's tx led goes off and
> > the rx led stays slightly illuminated. Now I'm lost.
>
> I'd first check that the level shifter is working properly by
disconnecting
> the LPC board and connecting RxD and TxD. You should be able to see
typred
> characters echoed when using a terminal emulator like Realterm.
>
> Leon
> --
> Leon Heller
> Amateur radio call-sign G1HSM
> Yaesu FT-817ND transceiver
> Suzuki SV1000S motorcycle
> leon355@...
> http://webspace.webring.com/people/jl/leon_heller/
>

The shifter is working fine on several different ttl devices.
--- In l..., "sashi ono" wrote:
>
> --- In l..., "mrkeithcoleman"
> wrote:
> >
> > I have just received the Olimex LPC-H2103 board from and I'm having
> > some trouble getting started.
> >
> > Out of the box both jumpers are installed. I applied +5V to EXT2.17
> > and GND to EXT2.19. The power LED comes on and the other LED turns on,
> > off, then blinks rapidly. So far, so good, now I want to program the
> > part using the Philips LPC2000 Flash Utility V2.2.3.
> >
> > I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> > P0.1(RXD0). Then I connect P0.14 to GND and power or reset the board.
> > In either case the power LED turns on but the other LED stays off.
> > That makes me think the LPC2103 is in ISP mode. However, the Philips
> > Flash Utility will cannot talk to the board.
> >
> > The Flash Utility is set for the correct COM port, 9600 baud (though I
> > believe it will autodetect), and XTAL freq 14745 kHz. When the util
> > tries to talk to the board the RS232 shifter tx led blinks but not too
> > brightly and the shifter rx led blinks faintly with occasional bright
> > flash. Once the utility times out the shifter's tx led goes off and
> > the rx led stays slightly illuminated. Now I'm lost.
> >
> > Can anyone help?
> >
> Try using Flash magic instead. also try to manually enter boot mode
> via int0, rather than using the rs232 lines.
>

I will try using flash magic. I am trying manual mode by resetting
with P0.14 connected to GND. EINT0 is P0.16 but I have been using
EINT1 (P0.14). I'll give it a try.
--- In l..., "mrkeithcoleman"
wrote:
>
> --- In l..., "sashi ono" wrote:
> >
> > --- In l..., "mrkeithcoleman"
> > wrote:
> > >
> > > I have just received the Olimex LPC-H2103 board from and I'm having
> > > some trouble getting started.
> > >
> > > Out of the box both jumpers are installed. I applied +5V to EXT2.17
> > > and GND to EXT2.19. The power LED comes on and the other LED
turns on,
> > > off, then blinks rapidly. So far, so good, now I want to program the
> > > part using the Philips LPC2000 Flash Utility V2.2.3.
> > >
> > > I attached the Spark Fun RS232 Shifter to +5V, GND, P0.0(TXD0) and
> > > P0.1(RXD0). Then I connect P0.14 to GND and power or reset the
board.
> > > In either case the power LED turns on but the other LED stays off.
> > > That makes me think the LPC2103 is in ISP mode. However, the Philips
> > > Flash Utility will cannot talk to the board.
> > >
> > > The Flash Utility is set for the correct COM port, 9600 baud
(though I
> > > believe it will autodetect), and XTAL freq 14745 kHz. When the util
> > > tries to talk to the board the RS232 shifter tx led blinks but
not too
> > > brightly and the shifter rx led blinks faintly with occasional
bright
> > > flash. Once the utility times out the shifter's tx led goes off and
> > > the rx led stays slightly illuminated. Now I'm lost.
> > >
> > > Can anyone help?
> > >
> >
> >
> > Try using Flash magic instead. also try to manually enter boot mode
> > via int0, rather than using the rs232 lines.
> > I will try using flash magic. I am trying manual mode by resetting
> with P0.14 connected to GND. EINT0 is P0.16 but I have been using
> EINT1 (P0.14). I'll give it a try.
>

Looking at the UM again it seems that P0.14 should be pulled low after
a reset. I've connected it to GND and on reset the board does not go
into user code but I cannot get connected to the ISP mode.
--- In l..., "mrkeithcoleman"
wrote:
> Looking at the UM again it seems that P0.14 should be pulled
> low after a reset. I've connected it to GND and on reset the
> board does not go into user code but I cannot get connected
> to the ISP mode.

Hello,

P0.14 should be held low *during* reset and not pulled low *after*
reset. I trust you are doing the former.

Have you tried SILL?

http://www.cse.unsw.edu.au/~jayas/esdk/sill.html

Install the jumper that pulls P0.14 to ground, reset the processor,
and then start SILL on the serial/virtual communications port.

I have not had any instance where SILL fails to communicate with the
target but any other utility does. Although SILL's origin predates
2101-3 parts, it makes minimal assumptions about the LPC variant, it
may work on this part.

If you are having problems, drop me an email and I can talk you
through the debug options.

Regards,

Jaya
--- In l..., "jayasooriah" wrote:
>
> --- In l..., "mrkeithcoleman"
> wrote:
> > Looking at the UM again it seems that P0.14 should be pulled
> > low after a reset. I've connected it to GND and on reset the
> > board does not go into user code but I cannot get connected
> > to the ISP mode.
>
> Hello,
>
> P0.14 should be held low *during* reset and not pulled low *after*
> reset. I trust you are doing the former.
>
> Have you tried SILL?
>
> http://www.cse.unsw.edu.au/~jayas/esdk/sill.html
>
> Install the jumper that pulls P0.14 to ground, reset the processor,
> and then start SILL on the serial/virtual communications port.
>
> I have not had any instance where SILL fails to communicate with the
> target but any other utility does. Although SILL's origin predates
> 2101-3 parts, it makes minimal assumptions about the LPC variant, it
> may work on this part.
>
> If you are having problems, drop me an email and I can talk you
> through the debug options.
>
> Regards,
>
> Jaya
>

When I use Flash Magick I am still unable to successfully connect to
the device. However, after attempting an action like reading the
device signature I can launch the terminal at 9600 baud and the device
will echo characters.
--- In l..., "mrkeithcoleman"
wrote:

> When I use Flash Magick I am still unable to successfully connect to
> the device. However, after attempting an action like reading the
> device signature I can launch the terminal at 9600 baud and the device
> will echo characters.

If you dump the information that SILL does, you can get an idea of
what the parameters in the boot block are (which I understand is in
ROM for 2101-3 parts and thus not subject to corruption like in other
LPCs).

You can compare this with what the other tools expect to work out why
it fails.

Regards,

Jaya