R01UH0822EJ0100 Rev.1.00
Page 924 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
31.4.19
Flash Status Register 0 (FSTATR0)
This register is a status register used to confirm the result of executing a software command. Each error flag is set to 0
when the next software command is executed.
This flag indicates the result of the erase processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during erasure.
[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
erasure.
PRGERR Flag (Program Error Flag)
This flag indicates the result of the program processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during programming.
[Clearing condition]
The next software command is executed.
BCERR Flag (Blank Check Error Flag)
This flag indicates the result of the blank check processing for the ROM/E2 DataFlash.
[Setting condition]
An error occurs during blank checking.
Address(es): FLASH.FSTATR0 007F FF8Ah
b7
b6
b5
b4
b3
b2
b1
b0
—
—
EILGLE
RR
ILGLER
R
BCERR
—
PRGER
R
ERERR
Value after reset:
x
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Erase Error Flag
0: Erasure terminates normally.
1: An error occurs during erasure.
R
b1
Program Error Flag
0: Programming terminates normally.
1: An error occurs during programming.
R
b2
—
Reserved
The read value is undefined.
R
b3
Blank Check Error Flag
0: Blank checking terminates normally.
1: An error occurs during blank checking.
R
b4
Illegal Command Error Flag
0: No illegal software command or illegal access is detected.
1: An illegal command or illegal access is detected.
R
b5
Extra Area Illegal Command Error
Flag
0: No illegal command or illegal access to the extra area is
detected.
1: An illegal command or illegal access to the extra area is
detected.
R
b7, b6
—
Reserved
The read value is undefined.
R