at89c51re2-slsem ATMEL Corporation, at89c51re2-slsem Datasheet - Page 42

no-image

at89c51re2-slsem

Manufacturer Part Number
at89c51re2-slsem
Description
At89c51re2 8-bit Flash Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
Writting the Flash Spaces
User
42
AT89C51RE2
Figure 4. Column Latches Loading Procedure
Note:
Note:
Note:
The following procedure is used to program the User space and is summarized in
Figure 5:
Load up to one page of data in the column latches from address 0000h to FFFFh (
see Figure 4.).
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.
The last page address used when loading the column latch is the one used to select the
page programming address.
The value of MB02:0 during the last load gives the upper 32K bytes bank target
selection.
The execution of this sequence when BUSY flag is set leads to the no-execution of the
write in the column latches (the previous loaded data remains unchanged).
Exec: MOVX @DPTR, A
Column Latches Reset
Data memory Mapping
FCON = 00h (FPS = 0)
Restore IT and default
FCON= ABh (FPS=1)
FCON= 53h (FPS=0)
Column Latches
taget memory bank
Select target bank
Save & Disable IT
DPTR= Address
ACC= Data
Last Byte
MB2:0=YY
Data Load
to load ?
Loading
EA= 0
7663B–8051–03/07

Related parts for at89c51re2-slsem