RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 850 of 1006
Feb 20, 2013
26.6.3
Connections between FCU Modes and Commands
The sets of FCU commands that can be accepted in each of the FCU modes are fixed. Furthermore, which commands are
acceptable in a given FCU mode also depends on the state of the FCU.
Issuing of an FCU command must follow checking of the FCU's state after transitions of the FCU mode.
Commands that are acceptable in the various FCU modes and states are listed in table 26.9. Issuing a command that is not
currently acceptable leads to the FCU being placed in the command-locked state (see section 26.8.2, Error Protection).
Issuing of an FCU command must follow checking of the values of the FRDY, ILGLERR, ERSERR, and PRGERR bits
in FSTATR0 and of the FCUERR bit in FSTATR1 after transitions of the FCU mode. Furthermore, the CMDLK bit in
FASTAT can be checked to see if an error has occurred. The value of the CMDLK bit in FASTAT is the logical OR of
the ILGLERR, ERSERR, and PRGERR bits in FSTATR0 and the FCUERR bit in FSTATR1.
Table 26.9 Acceptable Commands and the State and Mode (ROM P/E Mode) of the FCU
P/E Normal Mode
Status Read Mode
Lock-Bit Read Mode
P
rogr
am
m
ing s
u
s
pended
E
ras
ur
e s
us
pended
Ot
h
er
s
tat
e
P
rogr
am
m
ing
or
er
as
ur
e
P
roc
e
s
s
ing
t
o
s
u
s
pend
pr
ogr
am
m
ing or
er
as
ur
e
Loc
k
bi
t r
ead 2
pr
oc
es
s
ing
P
rogr
am
m
ing s
u
s
pended
E
ras
ur
e s
us
pended
C
om
m
and
-l
oc
k
ed s
ta
te
O
ther
s
tat
e
P
rogr
am
m
ing s
u
s
pended
E
ras
ur
e s
us
pended
O
ther
s
tat
e
FSTATR0.FRDY bit
1
1
1
0
0
0
1
1
0/1
1
1
1
1
FSTATR0.SUSRDY bit
0
0
0
1
0
0
0
0
0
0
0
0
0
FSTATR0.ERSSPD bit
0
1
0
0
0/1
0
0
1
0
0
0
1
0
FSTATR0.PRGSPD bit
1
0
0
0
0/1
0
1
0
0
0
1
0
0
FASTAT.CMDLK bit
0
0
0
0
0
0
0
0
1
0
0
0
0
Normal mode transition
A
A
A
X
X
X
A
A
X
A
A
A
A
Status read transition
A
A
A
X
X
X
A
A
X
A
A
A
A
Lock-bit read transition
(lock bit read 1)
A
A
A
X
X
X
A
A
X
A
A
A
A
Peripheral clock setting
X
X
A
X
X
X
X
X
X
A
X
X
A
Programming
X
*
A
X
X
X
X
*
X
A
X
*
A
Block erasure
X
X
A
X
X
X
X
X
X
A
X
X
A
P/E suspension
X
X
X
A
X
X
X
X
X
X
X
X
X
P/E resumption
A
A
X
X
X
X
A
A
X
X
A
A
X
Status register clearing
A
A
A
X
X
X
A
A
A
A
A
A
A
Lock bit read 2
A
A
A
X
X
X
A
A
X
A
A
A
A
Lock bit programming
X
*
A
X
X
X
X
*
X
A
X
*
A
[Legend]
A: Acceptable
*
: Only programming is acceptable for blocks other than the block where erasure was suspended
X: Not acceptable
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...