R01UH0822EJ0100 Rev.1.00
Page 942 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
Figure 31.14
Procedure to Issue the Block Erase Command for the E2 DataFlash
Set the beginning address
of the erasure block
in registers FSARH and FSARL
Yes
FCR register = 84h
FCR register = 00h
FSTATR1.FRDY flag = 1?
End in E2 DataFlash
P/E mode
No
FSTATR1.FRDY flag = 0?
Yes
No
Continue E2 DataFlash
erasure?
Yes
No
Yes
No
Set the last address of the erasure
block 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