Rainbow-electronics T89C51CC02 Manual de usuario Pagina 25

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 137
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 24
Rev.A - May 17, 2001 25
Preliminary
T89C51CC02
Hardware Security
The following procedure is used to program the Hardware Security space and is summarized in Figure 10:
Set FPS and map Harware 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.
Figure 10. Hardware Programming Procedure
FLASH Spaces
Programming
Disable IT
EA= 0
Launch Programming
FCON= 54h
FCON= A4h
End Programming
Enable IT
EA= 1
FBusy
Cleared?
Erase Mode
FCON = 00h
Data Load
DPTR= 00h
ACC= Data
Exec: MOVX @DPTR, A
FCON = 0Ch
Vista de pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 136 137

Comentarios a estos manuales

Sin comentarios