beautypg.com

programming the flash spaces, Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 23

background image

Rev.A - May 17, 2001

23

Preliminary

T89C51CC02

7.3.6. Programming the FLASH Spaces

User

The following procedure is used to program the User space and is summarized in Figure 9:

Load data in the column latches from address 0000h to 3FFFh

1

.

Disable the interrupts.

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

Enable the interrupts.

Note:
1. The last page address used when loading the column latch is the one used to select the page programming address.

Extra Row

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

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.