T89C5115_08 ATMEL [ATMEL Corporation], T89C5115_08 Datasheet - Page 36

no-image

T89C5115_08

Manufacturer Part Number
T89C5115_08
Description
Low Pin Count 8-bit Microcontroller with A/D Converter and 16 KBytes Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Programming the Flash Spaces
User
Extra Row
36
AT89C5115
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)
4128G–8051–02/08

Related parts for T89C5115_08