AT89C2051
Flash Programming Modes
Mode
Write Code Data
(1)(3)
RST/VPP
12V
P3.2/PROG
P3.3
L
P3.4
H
P3.5
H
P3.7
H
Read Code Data
(1)
Write Lock
Bit - 1
H
12V
H
L
H
L
H
H
H
H
H
Bit - 2
12V
H
H
L
L
Chip Erase
12V
(2)
H
L
L
L
Read Signature Byte
Notes:
H
H
L
L
L
L
1. The internal PEROM address counter is reset to 000H on the rising edge of RST and is advanced by a positive pulse at
XTAL 1 pin.
2. Chip Erase requires a 10-ms PROG pulse.
3. P3.1 is pulled Low during programming to indicate RDY/BSY.
Figure 3.
Programming the Flash Memory
Figure 4.
Verifying the Flash Memory
PP
4-21