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