Philips Semiconductors
P89LPC901/902/903
8-bit microcontrollers with two-clock 80C51 core
Product data Rev. 05 — 17 December 2004 41 of 53
9397 750 14465
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
designed to optimize the erase and programming mechanisms. The
P89LPC901/902/903 uses V
DD
as the supply voltage to perform the Program/Erase
algorithms.
8.26.2 Features
• Programming and erase over the full operating voltage range.
• Byte-erase allowing code memory to be used for data storage.
• Read/Programming/Erase using ICP.
• Any flash program/erase operation in 2 ms.
• Programming with industry-standard commercial programmers.
• Programmable security for the code in the Flash for each sector.
• More than 100,000 minimum erase/program cycles for each byte.
• 10-year minimum data retention.
8.26.3 Flash organization
The P89LPC901/902/903 program memory consists of four 256 byte sectors. Each
sector can be further divided into 16-byte pages. In addition to sector erase, page
erase, and byte erase, a 16-byte page register is included which allows from 1 to 16
bytes of a given page to be programmed at the same time, substantially reducing
overall programming time. In addition, erasing and reprogramming of
user-programmable configuration bytes including UCFG1, the Boot Status Bit, and
the Boot Vector is supported.
8.26.4 Flash programming and erasing
Different methods of erasing or programming of the Flash are available. The Flash
may be programmed or erased in the end-user application (IAP) under control of the
application’s firmware. Another option is to use the In-Circuit Programming (ICP)
mechanism. This ICP system provides for programming through a serial clock- serial
data interface. Third, the Flash may be programmed or erased using a commercially
available EPROM programmer which supports this device. This device does not
provide for direct verification of code memory contents. Instead this device provides a
32-bit CRC result on either a sector or the entire 1 KB of user code space.
8.26.5 In-circuit programming (ICP)
In-Circuit Programming is performed without removing the microcontroller from the
system. The In-Circuit Programming facility consists of internal hardware resources
to facilitate remote programming of the P89LPC901/902/903 through a two-wire
serial interface. The Philips In-Circuit Programming facility has made in-circuit
programming in an embedded application, using commercially available
programmers, possible with a minimum of additional expense in components and
circuit board area. The ICP function uses five pins. Only a small connector needs to
be available to interface your application to a commercial programmer in order to use
this feature. Additional details may be found in the
P89LPC901/902/903 User’s
Manual
.