2000 Jul 26
157
Philips Semiconductors
Preliminary Specification
Single-chip 8-bit microcontroller with CAN controller
P8xC591
25.1
Timing symbol definitions
Oscillator:
f
CLK
= clock frequency
t
CLK
= clock period
Timing symbols (acronyms):
Eachtimingsymbolhasfivecharacters.Thefirstcharacter
is always a 't' (= time). the remaining four characters of the
symbol (typed in subscript), depending on their relative
positions,indicatethenameofasignalorthelogicalstatus
of that signal. the designations are as follows:
A =address
C = clock
D = input data
H = logic level HIGH
I = instruction (program memory contents)
L = Logic level LOW or ALE
P = PSEN
Q = output data
R = RD signal
t = time
V = valid
W = WR signal
X = no longer a valid logic level
Z = float
Examples:
t
AVLL
= time for address valid to ALE LOW
t
LLPL
= time for ALE LOW to PSEN LOW
26 EPROM CHARACTERISTICS
The P8xC591 contains three signature bytes that can be
read and used by an EPROM programming system to
identify the device. The signature bytes identify the device
as an P8xC591 manufactured by Philips:
(030H) = 15H indicates manufactured by Philips
(0031H) = 98H indicates Hamburg
(60H) = 01H indicates P87C591
26.1
If security bits 2 or 3 have not been programmed, the
on-chip program memory can be read out for program
verification.
Program verification
If the encryption table has been programmed, the data
presented at port 0 will be exclusive NOR of the program
byte with one of the encryption bytes. The user will have to
know the encryption table contents in order to correctly
decode the verification data. The encryption table itself
cannot be read out.
26.2
With none of the security bits programmed the code in the
program memory can be verified. If the encryption table is
programmed, the code will be encrypted when verified.
When only security bit 1 (see Table 113) is programmed,
MOVC instructions executed from external program
memory are disabled from fetching code bytes from the
internal memory. EA is latched on Reset and all further
programming of the EPROM is disabled. When security
bits 1 and 2 are programmed, in addition to the above,
verify mode is disabled.
Security bits
When all three security bits are programmed, all of the
conditions above apply and all external program memory
execution is disabled.
Table 113
Program security bits for EPROM devices
P = programmed; U = unprogrammed.
Note
1.
Any other combination of the security bits is not defined.
PROGRAM
LOCK BITS
(1)
SB1 SB2 SB3
PROTECTION DESCRIPTION
1
U
U
U
No Program Security features enabled. (Code verify will still be encrypted by the
Encryption Array if programmed.).
MOVC instructions executed from external Program Memory are disabled from
fetching code bytes from internal memory, EA is sampled and latched on reset,
and further programming of the EPROM is disabled.
Same as 2, also verify is disabled.
Same as 3, and external memory execution is disabled.
2
P
U
U
3
4
P
P
P
P
U
P