RX610 Group
27. Data Flash (Flash Memory for Data Storage)
R01UH0032EJ0120 Rev.1.20
Page 932 of 1006
Feb 20, 2013
27.7.2
Error Protection
Error protection is the detection of errors in the issuing of FCU commands and of prohibited access, and response in the
form of notification of the FCU malfunction and prohibition of the reception of further commands by the FCU (the FCU
enters the command-locked state). When the FCU enters the command-locked state (FASTAT.CMDLK bit is 1), one or
several of the status bits (FSTATR0.ILGLERR, ERSERR, and PRGERR bits, FSTATR1.FCUERR bit, and
FASTST.DFLAE, DFLRPE, and DFLWPE bits) are set to 1 and programming and erasure of the data-flash are
prohibited. To release the FCU from the command-locked state, a status register clearing command must be issued with
FASTAT set to 10h.
While the CMDLKIE bit in FAEINT is 1, a flash interface error (FIFERR) interrupt will be generated if the FCU enters
the command-locked state (the CMDLK bit in FASTAT becomes 1). While a data flash-related interrupt enable bit
(DFLAEIE, DFLRPEIE, or DFLWPEIE) in FAEINT is 1, an FIFERR interrupt will also be generated if the
corresponding status bit (DFLAE, DFLRPE, or DFLWPE) in FASTAT becomes 1.
Table 27.8 shows the error protection types for the data flash and the values of the status bits (the ILGLERR, ERSERR,
and PRGERR bits in FSTATR0 and the DFLAE, DFLRPE, and DFLWPE bits in FASTAT) after the detection of each
type of error. For the error protection types used in common by the ROM and data flash (FENTRYR setting error, most
illegal command errors, erasing errors, programming errors, and FCU errors, see section 26.8.2, Error Protection.
If the FCU enters the command-locked state due to a command other than a suspension command issued during
programming or erasure processing, the FCU continues programming or erasing the data flash. In this state, the P/E
suspension command cannot suspend programming or erasure. If a command is issued in the command-locked state, the
ILGLERR bit becomes 1.
Table 27.8 Error Protection Types (for Data Flash Only)
Error
Description
IL
G
LE
R
R
ER
SER
R
P
RG
E
RR
DF
L
AE
DF
L
RP
E
D
FLW
P
E
CM
DL
K
Illegal command error
The value specified in the second cycle of a programming
command was neither 04h nor 40h.
1
0
0
0
0
0
1
A lock bit programming command was issued for an area in
the data flash while the FENTRYD bit of FENTRYR register
was set to 1.
1
0
0
0
0
0
1
Data flash access error
A read access command was issued for the data flash area
while FENTRYD = 1 in FENTRYR in data flash P/E normal
mode.
1
0
0
1
0
0
1
A write access command was issued for the data flash area
while FENTRYD = 0.
1
0
0
1
0
0
1
An access command was issued for the data flash area while
the FENTRY1 or FENTRY0 bit in FENTRYR was 1.
1
0
0
1
0
0
1
Data flash
read protect error
A read access command was issued for the data flash area
while it was protected against reading by the DFLRE setting.
1
0
0
0
1
0
1
Data flash
programming protect error
A program/block erase command was issued for the data
flash area while it was protected against programming and
erasure by the DFLWE setting.
1
0
0
0
0
1
1
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...