Chapter 27 512 KByte Flash Module (S12XFTM512K3V1)
MC9S12XE-Family Reference Manual , Rev. 1.19
1034
Freescale Semiconductor
All flags in the FERSTAT register are readable and only writable to clear the flag.
Offset Module Base + 0x0007
7
6
5
4
3
2
1
0
R
ERSERIF
PGMERIF
0
EPVIOLIF
ERSVIF1
ERSVIF0
DFDIF
SFDIF
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 27-12. Flash Error Status Register (FERSTAT)
Table 27-18. FERSTAT Field Descriptions
Field
Description
7
ERSERIF
EEE Erase Error Interrupt Flag
— The setting of the ERSERIF flag occurs due to an error in a Flash erase
command that resulted in the erase operation not being successful during EEE operations. The ERSERIF flag
is cleared by writing a 1 to ERSERIF. Writing a 0 to the ERSERIF flag has no effect on ERSERIF. While
ERSERIF is set, it is possible to write to the buffer RAM EEE partition but the data written will not be transferred
to the D-Flash EEE partition.
0 Erase command successfully completed on the D-Flash EEE partition
1 Erase command failed on the D-Flash EEE partition
6
PGMERIF
EEE Program Error Interrupt Flag
— The setting of the PGMERIF flag occurs due to an error in a Flash
program command that resulted in the program operation not being successful during EEE operations. The
PGMERIF flag is cleared by writing a 1 to PGMERIF. Writing a 0 to the PGMERIF flag has no effect on
PGMERIF. While PGMERIF is set, it is possible to write to the buffer RAM EEE partition but the data written will
not be transferred to the D-Flash EEE partition.
0 Program command successfully completed on the D-Flash EEE partition
1 Program command failed on the D-Flash EEE partition
4
EPVIOLIF
EEE Protection Violation Interrupt Flag
—The setting of the EPVIOLIF flag indicates an attempt was made to
write to a protected area of the buffer RAM EEE partition. The EPVIOLIF flag is cleared by writing a 1 to
EPVIOLIF. Writing a 0 to the EPVIOLIF flag has no effect on EPVIOLIF. While EPVIOLIF is set, it is possible to
write to the buffer RAM EEE partition as long as the address written to is not in a protected area.
0 No EEE protection violation
1 EEE protection violation detected
3
ERSVIF1
EEE Error Interrupt 1 Flag
—The setting of the ERSVIF1 flag indicates that the memory controller was unable
to change the state of a D-Flash EEE sector. The ERSVIF1 flag is cleared by writing a 1 to ERSVIF1. Writing a
0 to the ERSVIF1 flag has no effect on ERSVIF1. While ERSVIF1 is set, it is possible to write to the buffer RAM
EEE partition but the data written will not be transferred to the D-Flash EEE partition.
0 No EEE sector state change error detected
1 EEE sector state change error detected
2
ERSVIF0
EEE Error Interrupt 0 Flag
—The setting of the ERSVIF0 flag indicates that the memory controller was unable
to format a D-Flash EEE sector for EEE use. The ERSVIF0 flag is cleared by writing a 1 to ERSVIF0. Writing a
0 to the ERSVIF0 flag has no effect on ERSVIF0. While ERSVIF0 is set, it is possible to write to the buffer RAM
EEE partition but the data written will not be transferred to the D-Flash EEE partition.
0 No EEE sector format error detected
1 EEE sector format error detected
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages