16-21
PROGRAMMING THE NONVOLATILE MEMORY
Figure 16-8. Program Word Routine
A0194-03
No
PROG#
(P2.2)=0
?
From Address/
Command Decoder
Read Data
from PBUS
No
Lock Bits
Enabled
?
Yes
Verify
Security Key
Keys
Match
?
Yes
Programming
Verifies
?
Yes
No
Loop
Forever
No
Deassert
PVER (P2.0 = 0)
PROG#
(P2.2) = 0
?
Yes
No
Yes
Yes
To Address/
Command Decoder
PALE#
(P2.1) = 0
?
AINC#
(P2.4) = 0
?
Increment
Address by 2
No
PVER
(P2.0) = 1
?
Deassert CPVER
Assert PVER
No
Yes
No
Yes
Execute Modified
Quick-Pulse Algorithm
then Return
Read Data
from PBUS
Assert PVER
(P2.0 = 1)