EmbeddedRelated.com
Forums

LPC2138 ISP

Started by Jan Szymanski February 2, 2005

I have 2 samples of LPC2138 and built a proto board.
I was suprised to find out that Philips ISP programming software
doesn't support it. When I read the ID (partID: 196389) I had an
error message: device not supported.
(Why Flash utility is in LPC213X folder if it doesn't support it ?)
IAR Embedded Workbench (I have Kicstart Kit for LPC2106 version with
limited compiler and JLink) doesn't support flash programming for
LPC2138 either.
What is the easiest way to program LPC2138 ?
Jan.



An Engineer's Guide to the LPC2100 Series


--- In , "Jan Szymanski" <janek@b...> wrote:
>
> I have 2 samples of LPC2138 and built a proto board.
> I was suprised to find out that Philips ISP programming software
> doesn't support it. When I read the ID (partID: 196389) I had an
> error message: device not supported.
> (Why Flash utility is in LPC213X folder if it doesn't support it ?)
> IAR Embedded Workbench (I have Kicstart Kit for LPC2106 version with
> limited compiler and JLink) doesn't support flash programming for
> LPC2138 either.
> What is the easiest way to program LPC2138 ?
> Jan.

Hi Jan,

try the latest IPS Flash Utility (V2.2.1 or newer) to program the LPC2138.

Andreas




--- In , "haack0815" <lpc_arm@s...> wrote:
>
> --- In , "Jan Szymanski" <janek@b...> wrote:
> >
> > I have 2 samples of LPC2138 and built a proto board.
> > I was suprised to find out that Philips ISP programming software
> > doesn't support it. When I read the ID (partID: 196389) I had an
> > error message: device not supported.
> > (Why Flash utility is in LPC213X folder if it doesn't support
it ?)
> > IAR Embedded Workbench (I have Kicstart Kit for LPC2106 version
with
> > limited compiler and JLink) doesn't support flash programming for
> > LPC2138 either.
> > What is the easiest way to program LPC2138 ?
> > Jan.
>
> Hi Jan,
>
> try the latest IPS Flash Utility (V2.2.1 or newer) to program the
LPC2138.
>
> Andreas

IAR's EWARM version 4.20A also has support for LPC213x (including
programming via JTAG), although they did mess up and omit a few of
the register names in header files and debugger register definitions.




> IAR's EWARM version 4.20A also has support for LPC213x (including
> programming via JTAG), although they did mess up and omit a few of
> the register names in header files and debugger register
definitions.

which one register names are wrong?

Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, and MSP430
(http://www.olimex.com/dev)




> try the latest IPS Flash Utility (V2.2.1 or newer) to program the
LPC2138.

where to download V2.2.1? the one on Philips web is 2.2.0

Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, and MSP430
(http://www.olimex.com/dev)




--- In , "tsvetanusunov" <tusunov@m...> wrote:
>
>
> > try the latest IPS Flash Utility (V2.2.1 or newer) to program the
> LPC2138.
>
> where to download V2.2.1? the one on Philips web is 2.2.0
>
> Tsvetan
> ---
> PCB prototypes for $26 at http://run.to/pcb
> (http://www.olimex.com/pcb)
> PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
> Development boards for ARM, AVR, PIC, and MSP430
> (http://www.olimex.com/dev)

Hi Tsvetan,

you can download the ISP tool from Philips.
Try the tool download the tool at the LPC2138 section.
Maybe they have the old and new one on their web site.

Andreas




> you can download the ISP tool from Philips.
> Try the tool download the tool at the LPC2138 section.
> Maybe they have the old and new one on their web site.

this is what I try to do - there are 4 ZIP files with same name ISP
utility!

do you have direct link to 2.2.1?

Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, and MSP430
(http://www.olimex.com/dev)



--- In , "tsvetanusunov" <tusunov@m...> wrote:
>
> > you can download the ISP tool from Philips.
> > Try the tool download the tool at the LPC2138 section.
> > Maybe they have the old and new one on their web site.
>
> this is what I try to do - there are 4 ZIP files with same name ISP
> utility!
>
> do you have direct link to 2.2.1?
>
> Tsvetan
> ---
> PCB prototypes for $26 at http://run.to/pcb
> (http://www.olimex.com/pcb)
> PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
> Development boards for ARM, AVR, PIC, and MSP430
> (http://www.olimex.com/dev)

Hi Tsvetan,

try this link ( the first entry with the "ARM Flash Utility(date
2004-12-22)"
http://www.semiconductors.philips.com/cgi-bin/pldb
/pip/LPC2131FBD64.html

It's working for me, I hope also for you.

Andreas




--- In , "tsvetanusunov" <tusunov@m...> wrote:
>
> > IAR's EWARM version 4.20A also has support for LPC213x (including
> > programming via JTAG), although they did mess up and omit a few
of
> > the register names in header files and debugger register
> definitions.
>
> which one register names are wrong?
>
> Tsvetan
>

PHILIPS IAR
------- ---
IO0PIN IOPIN0
IO0SET IOSET0
IO0DIR IODIR0
IO0CLR IOCLR0

IO1PIN IOPIN1
IO1SET IOSET1
IO1DIR IODIR1
IO1CLR IOCLR1

S0SPCR SPCR0
S0SPSR SPSR0
S0SPDR SPDR0
S0SPCCR SPCCR0
S0SPINT SPINT0

MAMCR missing
MAMTIM missing




> try this link ( the first entry with the "ARM Flash Utility(date
> 2004-12-22)"
> http://www.semiconductors.philips.com/cgi-bin/pldb
> /pip/LPC2131FBD64.html
>
> It's working for me, I hope also for you.
>

No luck here! Just three times V2.2.0 (release 2004-12-22) Tsvetan
---
PCB prototypes for $26 at http://run.to/pcb
(http://www.olimex.com/pcb)
PCB any volume assembly (http://www.olimex.com/pcb/protoa.html)
Development boards for ARM, AVR, PIC, and MSP430
(http://www.olimex.com/dev)