AT89C5131-PLTIL ATMEL Corporation, AT89C5131-PLTIL Datasheet - Page 33

no-image

AT89C5131-PLTIL

Manufacturer Part Number
AT89C5131-PLTIL
Description
8-bit Flash Microcontroller with Full Speed USB Device
Manufacturer
ATMEL Corporation
Datasheet
Reading the Flash Spaces
User
Extra Row
Hardware Security
4136B–USB–09/03
The following procedure is used to read the User space and is summarized in Figure 18:
The following procedure is used to read the Extra Row space and is summarized in
Figure 18:
The following procedure is used to read the Hardware Security space and is summa-
rized in Figure 18:
Figure 18. Reading Procedure
Map the User space by writing 00h in FCON register.
Read one byte in Accumulator by executing MOVC A, @A+DPTR with A = 0 &
DPTR = 0000h to FFFFh.
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.
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.
Exec: MOVC A, @A+DPTR
Flash Spaces Reading
Flash Spaces Mapping
FCON = 00000xx0b
DPTR = Address
FCON = 00h
Erase Mode
Data Read
ACC = 0
AT89C5131
33

Related parts for AT89C5131-PLTIL