EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

LPC900 family ICP and ISP programmer

Started by Fausto Marzoli April 15, 2005
I've developed and made an hardware/software kit that allows to program any
Philips LPC900 Family Microcontroller derivate.

It's named "LPC900icp" and works both in ICP and ISP modes.

The hardware (USB based) is going to be for sale, but the software is for free
(GPL) and I think it can be used also with other hardware using the ISP
original microcontroller bootloader.
I wrote one complete command line software for Linux (in PERL language) and
I'm writing the Windows software.

For now I have only one hardware prototype completely functional, but I'm
going to make a production soon.

You can find software, datasheets and info at the address:

http://www.precma.it/lpcprogrammer.htm

Here are the command line program options for linux:

LPC900 Programmer Version 1.0 (050413) - Copyright 2005 PRECMA Srl, FauMarz
Usage: lpc900icp [--opt1 [arg1[,arg2]] ... --optn [arg1[,arg2]]]
--help Show options
--version Read ISP/ICP programmer version
--pon Power ON the LPC and enter ICP mode (ICP mode only)
--poff Power OFF the LPC (ICP mode only)
--id Read LPC ID (automatic for: scrc, esector, epage, program)
--scrc n [,m] Read the given 1Kb sector CRC (n to m)
--gcrc Read the global CRC
--echip Erase all the LPC flash ROM
--epage a [,c] Erase the given flash page (a to c), hex addr. or dec nr.
--esector a [,c] Erase the given flash sector (a to c), hex addr. or dec nr.
--program hexfile Program in the LPC flash ROM the given hexfile
--ucfg1r Read the LPC UCFG1 byte
--ucfg1w b Write the LPC UCFG1 byte (hex val)
--bootvr Read Boot Vector Byte
--bootvw b Write Boot Vector (hex val)
--bootsr Read Boot Status Byte
--bootsw b Write Boot Status Byte (hex val)
--securityr n [,m] Read Security Byte(s) for sector n to m (dec nr.)
--securityw n,b Write Security Byte b (hex) for sector n (dec nr.)
--isp Use ISP mode (instead of ICP - needs bootloader)
--[no]protect Protect original Philips bootloader sector (default)
--port Define serial port to use --
Fausto Marzoli - 8052.it - http://www.8052.it/




The 2024 Embedded Online Conference