Renesas SH7641 Informações Técnicas Página 111

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 250
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 110
89
3.22 Download Function to the Flash Memory Area
The E10A emulator enables downloading to the flash memory area. This function requires a
program for writing the flash memory (hereinafter referred to as a write module), a program
for erasing the flash memory (hereinafter referred to as an erase module), and the RAM area
for downloading and executing these modules.
Note: The write/erase module must be prepared by users.
Interface with write/erase module and E10A emulator firmware
The write/erase module is branched from the E10A emulator firmware. To branch from
the E10A emulator firmware to the write/erase module or to return from the write/erase
module to the E10A emulator firmware, the following conditions must be observed:
Describe all the write/erase modules with the assembly language.
Guarantee all the general/control register values before and after calling the write/erase
module.
Return the write/erase module to the calling source after processing.
The module interface must be as follows to pass correctly the information that is required
for flash memory accessing.
Table 3.6 Module Interface
Module Name Argument Return Value
Write module R4(L): Write address
R7(L): Verify option
0 = no verify,
1 = verify
R5(L): Access size
0x4220 = byte,
0x5720 = word,
0x4C20 = longword
R6(L): Write data
R0(L): End code
Normal end = 0,
Abnormal end = other than 0,
Verify error = BT
Erase module R4(L): Access size
0x4220 = byte,
0x5720 = word,
0x4C20 = longword
None
Note: The (L) means the longword size.
Note: Write module:
The write data for the access size is set to the R6 register. When the access size is
word or byte, 0 is set to the upper bit of the R6 register.
Vista de página 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 249 250

Comentários a estes Manuais

Sem comentários