Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: Louis de Beer on May 30, 2007, 12:17:25 PM

Title: Programming a LPC915
Post by: Louis de Beer on May 30, 2007, 12:17:25 PM
Am I correct to say that a new LPC915 can only be programmed using a MCB900 PCB? Is there any other way to program the device?

Thanks
Title: Re: Programming a LPC915
Post by: Je Gold on May 30, 2007, 03:33:55 PM
The LPC915 can not be programmed DIRECTLY with a MCB900 because it does not have ISP bootloader.

You can use a MCB900 (with ICP code in the ICP micro)  +  ICP Bridge circuit  to program the LPC915 (in ICP mode of course).

In the resources pages of Flash magic there are some examples and doc's.


Only  LPC900 parts  20pin and above has ISP.


Joe
Title: Re: Programming a LPC915
Post by: Andy Ayre on May 31, 2007, 08:29:19 AM
Or you can buy the USB-ICP programming dongle from Future Designs.

Andy
Title: Re: Programming a LPC915
Post by: Je Gold on May 31, 2007, 04:54:32 PM
Good idea!    :)

For 1st time users of the LPC900 series .... a profesional ICP tool and a Keil MCB900 is a good start.
http://www.teamfdi.com/products/usb-icp/usb-icp.shtml

I can  you remember the days when tools were $1000s ?

Joe
Title: Re: Programming a LPC915
Post by: Louis de Beer on June 13, 2007, 08:09:42 AM
Thanks for the info. I had a look at the FDI dongle from Future Designs. Just a question:
This dongle refer to connections to the PCL and PDA pins and P0.5 and P0.4 respectively. I assume these are the same as the SCL ans SDA on the LPC915 device (Pin 7 and 6), OR must P0.5 and P0.4 (Pin 11 and 12) be used on the LPC915. ???
Title: Re: Programming a LPC915
Post by: Je Gold on June 14, 2007, 03:34:09 AM
Answer
--------
The answer lies in AN10258_1 or AN10258_2... in the the document section
"5.Devices that are supported with the ICP programming interface" 

See how all the  ICP pins are shaded in gray and in a specific ICP pin pattern  (except for LPC901,2,3) all other LPC900 devices use this pin patten for ICP.

Why,  it is a little known fact that ICP uses MODE 0 "like" in the traditional  80c51 core  (look up the different modes in the NXP "classic" 80c51 core doc's for more info).

Joe