Philips Semiconductors
P89LPC920/921/922/9221
8-bit microcontrollers with two-clock 80C51 core
Product data Rev. 08 — 15 December 2004 34 of 46
9397 750 14469
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
and Boot Status Bit. After programming the Flash, the Boot Status Bit should be
programmed to zero in order to allow execution of the user’s application code
beginning at address 0000H.
In-System Programming (ISP): In-System Programming is performed without
removing the microcontroller from the system. The In-System Programming facility
consists of a series of internal hardware resources coupled with internal firmware to
facilitate remote programming of the P89LPC920/921/922/9221 through the serial
port. This firmware is provided by Philips and embedded within each
P89LPC920/921/922/9221 device. The Philips In-System Programming facility has
made in-system programming in an embedded application possible with a minimum
of additional expense in components and circuit board area. The ISP function uses
five pins (V
DD
, V
SS
, TXD, RXD, and RST). Only a small connector needs to be
available to interface your application to an external circuit in order to use this feature.
Please see the
P89LPC920/921/922/9221 User’s Manual
for additional details.
In-Application Programming (IAP): Several In-Application Programming (IAP) calls
are available for use by an application program to permit selective erasing and
programming of Flash sectors, pages, security bits, configuration bytes, and device
identification. All calls are made through a common interface, PGM_MTP. The
programming functions are selected by setting up the microcontroller’s registers
before making a call to PGM_MTP at FF00H. Please see the
P89LPC920/921/922/9221 User’s Manual
for additional details.
In-Circuit Programming (ICP): In-Circuit Programming is a method intended to
allow commercial programmers to program and erase these devices without
removing the microcontroller from the system. The In-Circuit Programming facility
consists of a series of internal hardware resources to facilitate remote programming
of the P89LPC920/921/922/9221 through a two-wire serial interface. Philips has
made in-circuit programming in an embedded application possible with a minimum of
additional expense in components and circuit board area. The ICP function uses five
pins (V
DD
, V
SS
, P0.5, P0.4, and RST). Only a small connector needs to be available
to interface your application to an external programmer in order to use this feature.
8.25 User configuration bytes
A number of user-configurable features of the P89LPC920/921/922/9221 must be
defined at power-up and therefore cannot be set by the program after start of
execution. These features are configured through the use of the Flash byte UCFG1.
Please see the
P89LPC920/921/922/9221 User’s Manual
for additional details.
8.26 User sector security bytes
There are two/four/eight User Sector Security Bytes, each corresponding to one
sector. Please see the
P89LPC920/921/922/9221 User’s Manual
for additional
details.