Renesas R8C/15 Información técnica Pagina 217

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 279
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 216
R8C/14 Group, R8C/15 Group 18. Flash Memory Version
Rev.2.10 Jan 19, 2006 Page 203 of 253
REJ09B0164-0210
Figure 18.8 shows the How to Set and Exit EW0 Mode. Figure 18.9 shows the How to Set and Exit
EW1 Mode.
Figure 18.8 How to Set and Exit EW0 Mode
Figure 18.9 How to Set and Exit EW1 Mode
Set CM0 and CM1 registers
(1)
Transfer a rewrite control program which uses CPU
rewrite mode to any areas other than the flash
memory
Jump to the rewrite control program which has been
transferred to any areas other than the flash memory
(The subsequent process is executed by the rewrite
control program in any areas other than the flash
memory)
Set the FMR01 bit by writing “0” and then “1”
(CPU rewrite mode enabled)
(2)
Execute the read array command
(3)
Execute software commands
Write “0” to the FMR01 bit
(CPU rewrite mode disabled)
Jump to a specified address in the flash memory
Rewrite Control Program
NOTES :
1. Select 5MHz or below for the CPU clock by the CM06 bit in the CM0 register and the CM16 to CM17 bits in the CM1 register.
2. When setting the FMR01 bit to “1”, write “0” to the FMR01 bit before writing “1”. Do not generate an interrupt between writing “0” and
“1”.
3. Disable the CPU rewrite mode after executing the read array command.
EW0 Mode Operating Procedure
Write “0” to the FMR01 bit before writing “1”
(CPU rewrite mode enabled)
(1)
Write “0” to the FMR11 bit before writing “1”
(EW1 mode)
Execute Software Commands
Write “0 to the FMR01 bit
(CPU rewrite mode disabled)
NOTES :
1. When setting the FMR01 bit to “1”, write “0” to the FMR01 bit before writing “1”.
Do not generate an interrupt between writing “0” and “1”.
EW1 Mode Operating Procedure
Program in ROM
Vista de pagina 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 278 279

Comentarios a estos manuales

Sin comentarios