LPC900icp Firmware Uploader

NXP LPC900 family microcontrollers In System Programmer (ISP) and In Circuit Programmer (ICP)

LPC900icp Home Page

Needs perl module Device::SerialPort

Works with Linux, Windows and FreeBSD.

In Circuit Programmer (ICP) mode supported through PRECMA LPC900icp Programmer hardware

Supported devices: P89LPC901 P89LPC902 P89LPC903 P89LPC904 P89LPC906 P89LPC907 P89LPC908 P89LPC9102 P89LPC9103 P89LPC9107 P89LPC912 P89LPC913 P89LPC914 P89LPC915 P89LPC916 P89LPC917 P89LPC918 P89LPC920 P89LPC921 P89LPC922 P89LPC9221 P89LPC924 P89LPC925 P89LPC930 P89LPC931 P89LPC9311 P89LPC932A1 P89LPC933 P89LPC934 P89LPC935 P89LPC936 P89LPC938 P89LPC9401 P89LPC9408 P89LPC952 P89LPC954

See the lpc900icp.txt in the distribution for detailed info; here below the --help output of the program:

# lpc900icp --help
LPC900 Programmer Version 2.9 (131125) - Copyright 2005-2013 PRECMA Srl
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)
--ucfg2r           Read the LPC UCFG2 byte
--ucfg2w b         Write the LPC UCFG2 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.)
--ccp              Clear Configuration Protection
--isp baudrate     Use ISP mode (instead of ICP - needs bootloader)
--ispbreak         Send a BREAK condition on the serial port (11 bits low)
--reset            Reset MCU after programming (ISP mode only)
--[no]protect      Protect original Philips bootloader sector (default)
--quickmode        Use quick programming mode (ICP mode only)
--port             Define serial port to use
--saveoptions      Save serial port settings

Author: Fausto Marzoli, PRECMA S.r.l.