AT89C51CC02CA-TDSUM ATMEL [ATMEL Corporation], AT89C51CC02CA-TDSUM Datasheet - Page 38

no-image

AT89C51CC02CA-TDSUM

Manufacturer Part Number
AT89C51CC02CA-TDSUM
Description
Enhanced 8-bit Microcontroller with CAN Controller and Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Programming the Flash Spaces
User
Extra Row
38
AT/T89C51CC02
Figure 14. Column Latches Loading Procedure
Note:
The following procedure is used to program the User space and is summarized in
Figure 15:
The following procedure is used to program the Extra Row 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.
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.
1. The last page address used when loading the column latch is the one used to select
the page programming address.
Column Latches Mapping
Exec: MOVX @DPTR, A
FCON = 08h (FPS = 1)
Data Memory Mapping
FCON = 00h (FPS = 0)
Column Latches
Save & Disable IT
DPTR = Address
ACC = Data
Last Byte
Data Load
to load?
Restore IT
Loading
EA = 0
(1)
4126J–CAN–05/06

Related parts for AT89C51CC02CA-TDSUM