Datasheet
35
4337K–USB–04/08
AT89C5130A/31A-M
Figure 8-6. Flash and Extra Row Programming Procedure
8.3.6.3 Hardware Security
The following procedure is used to program the Hardware Security space and is summarized in
Figure 8-7:
• Set FPS and map Hardware byte (FCON = 0x0C)
• Disable the interrupts.
• Load DPTR at address 0000h.
• Load Accumulator register with the data to load.
• Execute the MOVX @DPTR, A instruction.
• Launch the programming by writing the data sequence 54h followed by A4h in FCON
register.
The end of the programming indicated by the FBusy flag cleared.
• Enable the interrupts.
Flash Spaces
Programming
Disable IT
EA = 0
Launch Programming
FCON = 5xh
FCON = Axh
End Programming
Enable IT
EA = 1
Column Latches Loading
see Figure 8-5
FBusy
Cleared?
Erase Mode
FCON = 00h