R01UH0823EJ0100 Rev.1.00
Page 1699 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.7.4.6
Forced Stop of Software Commands
Perform the procedure shown in
to forcibly stop the blank check command or block erase command.
When the command processing is forcibly stopped, registers FEAMH and FEAML store the address at the time of the
forced stop. For blank check, the stopped processing can be continued by copying the FEAMH and FEAML register
values to registers FSARH and FSARL.
Figure 50.21
Procedure for Forced Stop of Software Commands
50.7.5
Interrupt
When software command processing or forced stop processing is completed, an interrupt (FRDYI) is generated.
When the FSTATR1.FRDY flag becomes 0 by setting the FCR.OPST bit to 0 and the FSTATR1.EXRDY flag becomes 0
by setting the FEXCR.OPST bit to 0, the next interrupt (FRDYI) can be accepted.
Clear the IRn.IR flag before setting the IERm.IEN bit of the ICU corresponding to this interrupt.
Command is being executed
FCR.STOP bit = 1
FSTATR1.FRDY flag = 1?
No
Yes
FCR register = 00h
FSTATR1.FRDY flag = 0?
No
Yes
End