Rainbow-electronics T89C51CC02 Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 137
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
26 Rev.A - May 17, 2001
Preliminary
T89C51CC02
7.3.7. Reading the FLASH Spaces
User
The following procedure is used to read the User space and is summarized in Figure 11:
Map the User space by writing 00h in FCON register.
Read one byte in Accumulator by executing MOVC A,@A+DPTR with A= 0 & DPTR= 0000h to FFFFh.
Extra Row
The following procedure is used to read the Extra Row space and is summarized in Figure 11:
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.
Hardware Security
The following procedure is used to read the Hardware Security space and is summarized in Figure 11:
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.
Figure 11. Reading Procedure
FLASH Spaces
Reading
FLASH Spaces Mapping
FCON= 00000xx0b
Data Read
DPTR= Address
ACC= 0
Exec: MOVC A, @A+DPTR
Erase Mode
FCON = 00h
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 136 137

Comentarios a estos manuales

Sin comentarios