P89LPC936FDH-S Philips, P89LPC936FDH-S Datasheet - Page 50
![no-image](/images/no-image-200.jpg)
P89LPC936FDH-S
Manufacturer Part Number
P89LPC936FDH-S
Description
ram, tssop, flash, Microcontrollers, Microprocessors, Semiconductors and Actives, mcu, ic
Manufacturer
Philips
Datasheet
1.P89LPC936FDH-S.pdf
(75 pages)
Philips Semiconductors
9397 750 15113
Product data sheet
8.28.3 Flash organization
8.28.4 Using flash as data storage
8.28.5 Flash programming and erasing
8.28.6 In-circuit programming
8.28.7 In-application programming
The program memory consists of eight 2 kB sectors on the P89LPC936 device, eight 1 kB
sectors on the P89LPC934/935 devices, and four 1 kB sectors on the P89LPC933 device.
Each sector can be further divided into 64-byte pages. In addition to sector erase, page
erase, and byte erase, a 64-byte page register is included which allows from 1 to 64 bytes
of a given page to be programmed at the same time, substantially reducing overall
programming time.
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.
Four 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 ICP mechanism. This ICP system
provides for programming through a serial clock - serial data interface. As shipped from
the factory, the upper 512 bytes of user code space contains a serial ISP routine allowing
the device to be programmed in circuit through the serial port. The flash may also 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
user code space.
ICP is performed without removing the microcontroller from the system. The ICP facility
consists of internal hardware resources to facilitate remote programming of the
P89LPC933/934/935/936 through a two-wire serial interface. The Philips ICP facility has
made ICP 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 P89LPC933/934/935/936 User manual .
IAP 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 IAP has made IAP in an embedded application possible without additional
components. Two methods are available to accomplish IAP. A set of predefined IAP
functions are provided in a boot ROM and can be called through a common interface,
PGM_MTP. Several 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 ID. These functions are selected by setting up the microcontroller’s
registers before making a call to PGM_MTP at FF03H. The boot ROM occupies the
program memory space at the top of the address space from FF00H to FFEFH, thereby
not conflicting with the user program memory space.
Rev. 06 — 20 June 2005
8-bit microcontroller with accelerated two-clock 80C51 core
P89LPC933/934/935/936
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
50 of 75