R01UH0823EJ0100 Rev.1.00
Page 1694 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.7.4.3
All-Block Erase
show the procedure to issue the all-block erase command.
Figure 50.16
Procedure to Issue the All-Block Erase Command for the ROM
Set the beginning address
of the ROM area
in registers FSARH and FSARL
Yes
FCR register = 86h
FCR register = 00h
FSTATR1.FRDY flag = 1?
End in ROM P/E mode
No
FSTATR1.FRDY flag = 0?
Yes
No
FSTATR0.ILGLERR flag = 1 or
FSTATR0.ERERR flag = 1?
Yes
No
Set the last address of the ROM area
in registers FEARH and FEARL
FRESETR.FRESET bit = 1
FRESETR.FRESET bit = 0
Sequencer
initialization
FASR.EXS bit = 0
Start in ROM P/E mode