English
Language : 

DS87C520 Datasheet, PDF (26/45 Pages) Dallas Semiconductor – EPROM/ROM High-Speed Micro
DS87C520/DS83C520 EPROM/ROM High-Speed Microcontrollers
Table 9. EPROM Programming Modes
MODE
RST PSEN ALE/PROG
Program Code Data
H
L
PL
EA/VPP
12.75V
P2.6 P2.7 P3.3 P3.6 P3.7
L
H
H
H
H
Verify Code Data
H
L
H
H
L
L
L
H
H
Program Encryption Array
Address 0-3Fh
H
L
PL
12.75V
L
H
H
L
H
LB1 H
L
PL
12.75V
H
H
H
H
H
Program Lock Bits LB2 H
L
PL
12.75V
H
H
H
L
L
LB3 H
L
PL
12.75V
H
L
H
H
L
Program Option Register
Address FCh
H
L
PL
12.75V
L
H
H
L
L
Read Signature or Option
Registers 30, 31, 60 FCh
H
L
H
H
L
L
L
L
L
Table 10. DS87C520 EPROM Lock Bits
LEVEL
LOCK BITS
LB1
LB2
LB3
PROTECTION
1
U
U
U
No program lock. Encrypted verify if encryption table was
programmed.
Prevent MOVC instructions in external memory from reading
2
P
U
U program bytes in internal memory. EA is sampled and latched on
reset. Allow no further programming of EPROM.
Level 2 plus no verify operation. Also, prevent MOVX
3
P
P
U instructions in external memory from reading SRAM (MOVX) in
internal memory.
4
P
P
P Level 3 plus no external execution.
SECURITY OPTIONS
The DS87C520 employs a standard three-level lock that restricts viewing of the EPROM contents. A 64-
byte Encryption Array allows the authorized user to verify memory by presenting the data in encrypted
form.
Lock Bits
The security lock consists of three lock bits. These bits select a total of four levels of security. Higher
levels provide increasing security but also limit application flexibility. Table 10 shows the security
settings. Note that the programmer cannot directly read the state of the security lock. User software has
access to this information as described in the Memory section.
26 of 45