Datasheet

Section 7 ROM
REJ09B0465-0300 Rev. 3.00 Page 217 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
No
Write software command H'20.
Write H'D0 to any address
in the specified block.
Start
Full status check
Erasure end
Yes
FMRDY = 1?
No
FMSPEN = 1
FMSPREQ = 1
Access to flash memory
FMSPREQ = 0
Interrupt request*
1
*
2
RTE
Yes
FMRDY = 1?
No
Write software command H'20.
Write H'D0 to any address
in the specified block.
Start
Full status check
Erasure end
Yes
FMRDY = 1?
FMSPEN = 1
FMSPREQ = 0
Access to flash memory
Interrupt request*
2
RTE
1. In EW0 mode, set VOFR and, locate the vector and handling routines of the used interrupts in the RAM.
2. When an interrupt request is generated, it takes the transition time to erase-suspend mode for the request to be accepted.
To allow a transition to the erase-suspend state, enable the relevant interrupt beforehand.
(EW1 mode)
(EW0 mode)
Notes:
NOP
NOP
NOP
Figure 7.15 Flowchart When Erase-Suspend Function is Used