8XC196MC, MD, MH USER’S MANUAL
16-28
Figure 16-13. Auto Programming Routine
No
Other
Modes
Loop
Forever
A0191-03
PMODE = 0CH
?
No
Lock Bits
Enabled
?
Load PPW
Yes
No
Pass
?
Yes
Verify
Security Key
Assert PACT#
Get External Data
No
Yes
Data = 0FFFFH
?
Execute Modified
Quick-Pulse Algorithm
then Return
Yes
Top of
OTPROM
?
No
Deassert PACT#
Loop Forever
(Done)
Clear PVER
Error
Programming
?
Yes
Increment Address Pointer
No
Yes