beautypg.com

Rainbow Electronics AT89C5131 User Manual

Page 31

background image

31

AT89C5131

4136A–USB–03/03

Extra Row

The following procedure is used to program the Extra Row space and is summarized in
Figure 16:

Load data in the column latches from address FF80h to FFFFh.

Disable the interrupts.

Launch the programming by writing the data sequence 52h followed by A2h in
FCON register.
The end of the programming indicated by the FBUSY flag cleared.

Enable the interrupts.

Figure 16. Flash and Extra Row Programming Procedure

Flash Spaces

Programming

Disable IT

EA = 0

Launch Programming

FCON = 5xh

FCON = Axh

End Programming

Enable IT

EA = 1

Column Latches Loading

see Figure 15

FBusy

Cleared?

Erase Mode
FCON = 00h