Figure 14. Column Latches Loading Procedure(1)
Column Latches
Loading
Save & Disable IT
EA = 0
Column Latches Mapping
FCON = 08h (FPS = 1)
Data Load
DPTR = Address
ACC = Data
Exec: MOVX @DPTR, A
Last Byte
to load?
Data Memory Mapping
FCON = 00h (FPS = 0)
Restore IT
Note:
1. The last page address used when loading the column latch is the one used to select
the page programming address.
Programming the Flash Spaces
User
The following procedure is used to program the User space and is summarized in
Figure 15:
•
•
•
Load up to one page of data in the column latches from address 0000h to 3FFFh.
Save then disable the interrupts.
Launch the programming by writing the data sequence 50h followed by A0h in
FCON register.This step must be executed from FM1.
The end of the programming indicated by the FBUSY flag cleared.
•
Restore the interrupts.
Extra Row
The following procedure is used to program the Extra Row space and is summarized in
Figure 15:
•
•
•
Load data in the column latches from address FF80h to FFFFh.
Save then disable the interrupts.
Launch the programming by writing the data sequence 52h followed by A2h 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.
36
AT89C5115
4128F–8051–05/06