R01UH0823EJ0100 Rev.1.00
Page 1696 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
50.7.4.4
Blank Check
and
show the procedure to issue the blank check command.
Figure 50.18
Procedure to Issue the Blank Check Command for the ROM
Set the blank check start address
in registers FSARH and FSARL
Set the blank check end address
in registers FEARH and FEARL
FCR register = 83h
FSTATR1.FRDY flag = 1?
No
Yes
FCR register = 00h
FSTATR1.FRDY flag = 0?
No
Yes
FSTATR0.ILGLERR flag = 1 or
FSTATR0.BCERR flag = 1?
Yes
No
FRESETR.FRESET bit = 1
FRESETR.FRESET bit = 0
End in ROM P/E mode
Sequencer
initialization
FASR.EXS bit = 0
Start in ROM P/E mode