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

no-image

AT89C51CC02CA-TDSUM

Manufacturer Part Number
AT89C51CC02CA-TDSUM
Description
Enhanced 8-bit Microcontroller with CAN Controller and Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Reading the Flash Spaces
User
Extra Row
Hardware Security Byte
40
AT/T89C51CC02
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
Flash Spaces
Programming
End Loading
FCON = 0Ch
DPTR = 00h
ACC = Data
Data Load
Restore IT
EA = 0
Security
Launch Programming
End Programming
Save & Disable IT
FCON = 54h
FCON = A4h
FCON = 00h
Clear Mode
Cleared?
RestoreIT
FBusy
Byte and is sum-
EA = 0
4126J–CAN–05/06

Related parts for AT89C51CC02CA-TDSUM