p89lpc904 NXP Semiconductors, p89lpc904 Datasheet - Page 32

no-image

p89lpc904

Manufacturer Part Number
p89lpc904
Description
8-bit Microcontrollers With Two-clock Accelerated 80c51 Core 1 Kb 3 V Byte-erasable Flash With 8-bit A/d Converter
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
9397 750 13521
Preliminary data
8.27.6 In-application programming
8.27.7 Using flash as data storage
8.27.8 User configuration bytes
8.27.9 User sector security bytes
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 P89LPC904 User’s Manual .
In-Application Programming is performed in the application under the control of the
microcontroller’s firmware. The IAP facility consists of internal hardware resources to
facilitate programming and erasing. The Philips In-Application Programming has
made in-application programming in an embedded application possible without
additional components. This is accomplished through the use of four SFRs consisting
of a control/status register, a data register, and two address registers. Additional
details may be found in the P89LPC904 User’s Manual .
The Flash code memory array of this device supports individual byte erasing and
programming. Any byte in the code memory array may be read using the MOVC
instruction, provided that the sector containing the byte has not been secured (a
MOVC instruction is not allowed to read code memory contents of a secured sector).
Thus any byte in a non-secured sector may be used for non-volatile data storage.
Some user-configurable features of the P89LPC904 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 P89LPC904
User’s Manual for additional details.
There are four User Sector Security Bytes, each corresponding to one sector. Please
see the P89LPC904 User’s Manual for additional details.
Rev. 02 — 25 June 2004
8-bit microcontrollers with two-clock accelerated 80C51 core
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
P89LPC904
32 of 41

Related parts for p89lpc904