Philips Semiconductors | User’s Manual - Preliminary - | |
|
|
|
FLASH PROGRAM MEMORY | P89LPC906/907/908 | |
USER SECURITY BYTES |
|
|
There are four User Sector Security Bytes (SEC0, ..., SEC3), each corresponding to one sector and having the following bit assignments:
SECx |
|
|
| 7 |
| 6 |
| 5 | 4 |
| 3 | 2 | 1 | 0 |
|
| |||
Address: xxxxh |
|
|
|
|
|
|
| ||||||||||||
|
|
| - |
| - |
| - |
| - |
| - | EDISx | SPEDISx | MOVCDISx |
|
| |||
|
|
|
|
|
|
|
|
|
|
| |||||||||
Unprogrammed value: 00h |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
BIT |
| SYMBOL |
| FUNCTION |
|
|
|
|
|
|
|
|
|
|
|
| |||
- |
| 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. |
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
| |||||||||||
|
|
|
| Figure |
|
|
|
| |||||||||||
Table |
|
|
|
|
|
|
|
|
|
|
|
| |||||||
EDISx |
| SPEDISx | MOVCDISx |
|
|
|
|
|
| Effects on Programming |
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
| 0 |
| 0 | None. |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
| Security violation flag set for sector CRC calculation for the specific sector. Security |
| |||||||||||||
0 |
| 0 |
| 1 | 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. |
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
0 |
| 1 |
| 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. |
| ||||||||||||||||
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
1 |
| x |
| x | Security violation flag set for program or erase commands. Cycle aborted. Memory |
| |||||||||||||
|
| contents unchanged. Global erase is allowed. |
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2003 Dec 8 | 97 |