Chapter 28 768 KByte Flash Module (S12XFTM768K4V2)
MC9S12XE-Family Reference Manual , Rev. 1.19
1132
Freescale Semiconductor
Upon clearing CCIF to launch the EEPROM Emulation Query command, the CCIF flag will set after the
EEE partition and status variables are stored in the FCCOBIX register.If the Emulation Query command
is executed prior to partitioning (Partition D-Flash Command
), the following reset
values are returned: DFPART = 0x_FFFF, ERPART = 0x_FFFF, ECOUNT = 0x_FFFF, Dead Sector
Count = 0x_00, Ready Sector Count = 0x_00.
28.4.2.22 Partition D-Flash Command
The Partition D-Flash command allows the user to allocate sectors within the D-Flash block for
applications and a partition within the buffer RAM for EEPROM access. The D-Flash block consists of
128 sectors with 256 bytes per sector. The Erase All Blocks command must be run prior to launching the
Partition D-Flash command.
010
Return ERPART
011
Return ECOUNT
(1)
100
Return Dead Sector Count
Return Ready Sector Count
1. Indicates sector erase count
Table 28-76. EEPROM Emulation Query Command Error Handling
Register
Error Bit
Error Condition
FSTAT
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
Set if a Load Data Field command sequence is currently active
Set if command not available in current mode (see
)
FPVIOL
None
MGSTAT1
None
MGSTAT0
None
FERSTAT
EPVIOLIF
None
Table 28-77. Partition D-Flash Command FCCOB Requirements
CCOBIX[2:0]
FCCOB Parameters
000
0x20
Not required
001
Number of 256 byte sectors for the D-Flash user partition (DFPART)
010
Number of 256 byte sectors for buffer RAM EEE partition (ERPART)
Table 28-75. EEPROM Emulation Query Command FCCOB Requirements
CCOBIX[2:0]
FCCOB Parameters
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