Rainbow-electronics T89C51AC2 Manual de usuario Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 110
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 109 110

Comentarios a estos manuales

Sin comentarios