Intel 8XC196MC User Manual page 358

Table of Contents

Advertisement

These protection levels are provided by the PCCB0 lock bits, the CCB0 lock bits, and the internal
security key (Table 16-3). When entering programming modes, the reset sequence loads the
PCCBs into the chip configuration registers. It also loads CCB0 into internal RAM to provide an
additional level of security.
You can program the CCBs using any of the programming methods, but only slave and PCCB
programming modes permits access to the PCCBs, and only slave and auto programming allow
you to program the internal security key.
Table 16-3. Memory Protection Options for Programming Modes
LOC1
LOC0
(CCR0.7)
(CCR0.6)
PCCB
CCB
PCCB
1
1
1
1
X
0
1
0
1
0
X
0
If you want to prohibit all programming, clear both PCCB0 lock bits. If these bits are cleared,
they prevent the device from entering any programming mode.
If you want to prevent programming, but allow ROM dumps, leave the PCCB0 read-protection
bit (PCCB0.7) unprogrammed and clear the PCCB0 write-protection bit (PCCB0.6). To protect
against unauthorized reads, program an internal security key. The ROM-dump mode compares
the internal security key location with an externally supplied security key, regardless of the CCB0
lock bits. If the security keys match, the routine continues; otherwise, the device enters an endless
internal loop.
If you want to allow slave and auto programming as well as ROM dumps, leave both PCCB0 lock
bits unprogrammed. To protect against unauthorized programming, clear the CCB0 lock bits and
program an internal security key. After the device enters either slave or auto programming mode,
the corresponding test ROM routine reads the CCB0 lock bits. If either CCB0 lock bit is enabled,
the routine compares the internal security key location with an externally supplied security key.
If the security keys match, the routine continues; otherwise, the device enters an endless internal
loop.
Security Key
Programmed
?
CCB
1
No
No protection. All programming modes allowed.
All programming disabled. ROM-dump permitted with
X
Yes
matching security key.
Auto and slave programming permitted with matching
0
Yes
security key.
X
X
All programming unconditionally disabled.
Get other manuals https://www.bkmanuals.com
PROGRAMMING THE NONVOLATILE MEMORY
Protection Status
16-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents