Philips Semiconductors
User’s Manual - Preliminary -
P89LPC901/902/903
FLASH PROGRAM MEMORY
2003 Dec 8 101
USER SECURITY BYTES
There are four User Sector Security Bytes (SEC0, ..., SEC3), each corresponding to one sector and having the following bit
assignments:
Figure 14-8: User Sector Security Bytes (SEC0 ... SEC3)
Table 14-2: Effects of Security Bits
EDISx SPEDISx MOVCDISx Effects on Programming
0 0 0 None.
00 1
Security violation flag set for sector CRC calculation for the specific sector. Security
violation flag set for global CRC calculation if any MOVCDISx bit is set. Cycle aborted.
Memory contents unchanged. CRC invalid. Program/erase commands will not result
in a security violation.
01 x
Security violation flag set for program commands or an erase page command. Cycle
aborted. Memory contents unchanged. Sector erase and global erase are allowed.
1x x
Security violation flag set for program or erase commands. Cycle aborted. Memory
contents unchanged. Global erase is allowed.
SECx
Address: xxxxh
Unprogrammed value: 00h
BIT SYMBOL FUNCTION
SECx.7-3 - Reserved (should remain unprogrammed at zero).
SECx.2 EDISx Erase Disable x. Disables the ability to perform an erase of sector "x" in IAP mode. When
programmed, this bit and sector x can only be erased by a 'global' erase command using
a commercial programmer . This bit and sector x CANNOT be erased in IAP mode.
SECx.1 SPEDISx Sector Program Erase Disable x. Disables program or erase of all or part of sector x.
This bit and sector x are erased by either a sector erase command (IAP or commercial
programmer) or a 'global' erase command (commercial programmer).
SECx.0 MOVCDISx MOVC Disable. Disables the MOVC command for sector x. Any MOVC that attempts to
read a byte in a MOVC protected sector will return invalid data. This bit can only be erased
when sector x is erased.
76543210
-----
EDISx SPEDISx MOVCDISx