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

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
Reading the Flash Spaces
User
Extra Row
Hardware Security Byte
38
AT89C5115
Figure 16. Hardware Programming Procedure
The following procedure is used to read the User space:
Note:
The following procedure is used to read the Extra Row space and is summarized in
Figure 17:
The following procedure is used to read the Hardware
marized in Figure 17:
Read one byte in Accumulator by executing MOVC A,@A+DPTR with A+DPTR is
the address of the code byte to read.
Map the Extra Row space by writing 02h in FCON register.
Read one byte in Accumulator by executing MOVC A,@A+DPTR with A= 0 &
DPTR= FF80h to FFFFh.
Clear FCON to unmap the Extra Row.
Map the Hardware Security space by writing 04h in FCON register.
Read the byte in Accumulator by executing MOVC A,@A+DPTR with A= 0 &
DPTR= 0000h.
Clear FCON to unmap the Hardware Security Byte.
FCON must be cleared (00h) when not used.
Exec: MOVX @DPTR, A
Save & Disable IT
Programming
Flash Spaces
End Loading
FCON = 0Ch
DPTR = 00h
ACC = Data
Data Load
Restore IT
EA = 0
Security
Launch Programming
End Programming
Save & Disable IT
FCON = A4h
FCON = 54h
FCON = 00h
Clear Mode
Cleared?
RestoreIT
FBusy
Byte and is sum-
EA = 0
4128G–8051–02/08

Related parts for T89C5115_08