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

no-image

AT89C5131-PLTIL

Manufacturer Part Number
AT89C5131-PLTIL
Description
8-bit Flash Microcontroller with Full Speed USB Device
Manufacturer
ATMEL Corporation
Datasheet
Hardware Security
32
AT89C5131
The following procedure is used to program the Hardware Security space and is sum-
marized in Figure 17:
Figure 17. Hardware Programming Procedure
Set FPS and map Hardware byte (FCON = 0x0C)
Disable the interrupts.
Load DPTR at address 0000h.
Load Accumulator register with the data to load.
Execute the MOVX @DPTR, A instruction.
Launch the programming by writing the data sequence 54h followed by A4h in
FCON register.
The end of the programming indicated by the FBusy flag cleared.
Enable the interrupts.
Exec: MOVX @DPTR, A
Launch Programming
End Programming
Programming
Flash Spaces
FCON = A4h
FCON = 0Ch
DPTR = 00h
FCON = 54h
Erase Mode
FCON = 00h
ACC = Data
Data Load
Cleared?
Disable IT
Enable IT
FBusy
EA = 0
EA = 1
4136B–USB–09/03

Related parts for AT89C5131-PLTIL