Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1713 of 1852
Nov 30, 2020
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