
R8C/14 Group, R8C/15 Group 18. Flash Memory Version
Rev.2.10 Jan 19, 2006 Page 208 of 253
REJ09B0164-0210
Figure 18.13 Block Erase Command (When Using Erase-Suspend Function)
Start
Write the command code “20h”
Write “D0h” to the any block
address
FMR00=1?
Full status check
Block erase completed
No
Yes
<EW0 Mode>
FMR40=1
Maskable interrupt
(1, 2)
FMR46=1 ?
REIT
No
Yes
FMR41=1
FMR41=0
Access to flash memory
Start
Write the command code “20h”
Write “D0h” to the any block
address
FMR00=1 ?
Full status check
Block erase completed
No
Yes
<EW1 Mode>
FMR40=1
Maskable interrupt
(2)
REIT
Access to flash memory
FMR41=0
NOTES :
1. In EW0 mode, interrupt vector table and interrupt routine for an interrupt to be used should
be allocated in RAM area.
2. td(SR-ES) is needed until the interrupt request is acknowledged after it is generated. The interrupt
to enter an erase-suspend should be in interrupt enabled status.
Kommentare zu diesen Handbüchern