T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 35

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Reading the Flash Spaces
User
Extra Row
Hardware Security Byte
4128A–8051–04/02
Figure 14. 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 15:
The following procedure is used to read the Hardware
summarized in Figure 15:
Read one byte in Accumulator by executing MOVC A,@A+DPTR with
A+DPTR=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 is supposed to be reset when not needed.
Exec: MOVX @DPTR, A
Save & Disable IT
Flash Spaces
Programming
End Loading
FCON = 0Ch
DPTR= 00h
ACC= Data
Data Load
Restore IT
EA= 0
Launch Programming
Security
End Programming
Save & Disable IT
FCON = 00h
FCON= A4h
FCON= 54h
Clear Mode
Cleared?
RestoreIT
T89C5115
FBusy
EA= 0
space and is
35

Related parts for T89C5115