AT89C5115
Figure 15. Flash and Extra row Programming Procedure
Flash Spaces
Programming
Column Latches Loading
See Figure 14
Save & Disable IT
EA = 0
Launch Programming
FCON = 5xh
FCON = Axh
FBusy
Cleared?
Clear Mode
FCON = 00h
End Programming
Restore IT
Hardware Security Byte
The following procedure is used to program the Hardware Security Byte space
and is summarized in Figure 16:
•
•
•
•
•
•
Set FPS and map Hardware byte (FCON = 0x0C)
Save then 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. This step of the procedure must be executed from FM1.
The end of the programming indicated by the FBusy flag cleared.
•
Restore the interrupts
37
4128F–8051–05/06