R01UH0823EJ0100 Rev.1.00
Page 1676 of 1823
Jul 31, 2019
RX23W Group
50. Flash Memory (FLASH)
[Clearing condition]
The next software command is executed.
The value read from this flag is undefined when the FCR.STOP bit is set to 1 (processing is forcibly stopped) during
blank checking.
ILGLERR Flag (Illegal Command Error Flag)
This flag indicates the result of executing a software command.
[Setting conditions]
Programming/erasure is executed to an area other than the access window range.
A blank check or block erase command is executed when the set value of registers FSARH and FSARL is larger
than the set value of registers FEARH and FEARL.
Program and block erase commands are executed when the FASR.EXS bit is 1.
An all-block erase command is executed while the access window is set.
An all-block erase command is executed without setting registers FSARH and FSARL and registers FEARH and
FEARL properly.
The E2 DataFlash address is set in registers FSARH and FSARL and a software command is executed when the
ROM is in P/E mode.
The ROM address is set in registers FSARH and FSARL and a software command is executed when the E2
DataFlash is in P/E mode.
The ROM and E2 DataFlash are set to P/E mode and a software command is executed.
[Clearing condition]
The next software command is executed.
EILGLERR Flag (Extra Area Illegal Command Error Flag)
This flag indicates the result of executing a software command for the extra area.
[Setting condition]
A software command for the extra area is executed when the FASR.EXS bit is 0.
[Clearing condition]
The next software command is executed.