Rainbow-electronics T89C51AC2 Manuel d'utilisateur Page 37

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 36
37
T89C51AC2
Rev. B – 19-Dec-01
Figure 14. Hardware Programming Procedure
9.3.7 Reading the FLASH
Spaces
User The following procedure is used to read the User space:
Read one byte in Accumulator by executing MOVC A,@A+DPTR with
A+DPTR=read@.
Note: FCON is supposed to be reset when not needed.
Extra Row The following procedure is used to read the Extra Row space and is summarized in
Figure 15:
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.
Hardware Security Byte
The following procedure is used to read the Hardware Security space and is
summarized in Figure 15:
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.
FLASH Spaces
Programming
Save & Disable IT
EA= 0
Launch Programming
FCON= 54h
FCON= A4h
End Programming
RestoreIT
FBusy
Cleared?
Clear Mode
FCON = 00h
Data Load
DPTR= 00h
ACC= Data
Exec:MOVX@DPTR,A
FCON = 0Ch
Save & Disable IT
EA= 0
End Loading
Restore IT
Vue de la page 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 109 110

Commentaires sur ces manuels

Pas de commentaire