Rainbow-electronics T89C51CC02 Manuel d'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 137
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 136 137

Commentaires sur ces manuels

Pas de commentaire