Chapter 25 256 KByte Flash Module (S12XFTM256K2V1)
MC9S12XE-Family Reference Manual , Rev. 1.19
Freescale Semiconductor
947
25.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 64
sectors with 256 bytes per sector. The Erase All Blocks command must be run prior to launching the
Partition D-Flash command.
Upon clearing CCIF to launch the Partition D-Flash command, the following actions are taken to define a
partition within the D-Flash block for direct access (DFPART) and a partition within the buffer RAM for
EEE use (ERPART):
•
Validate the DFPART and ERPART values provided:
— DFPART <= 128 (maximum number of 256 byte sectors in D-Flash block)
— ERPART <= 16 (maximum number of 256 byte sectors in buffer RAM)
— If ERPART > 0, 128 - DFPART >= 12 (minimum number of 256 byte sectors in the D-Flash
block required to support EEE)
— If ERPART > 0, ((128-DFPART)/ERPART) >= 8 (minimum ratio of D-Flash EEE space to
buffer RAM EEE space to support EEE)
•
Erase verify the D-Flash block and the EEE nonvolatile information register
•
Program DFPART to the EEE nonvolatile information register at global address 0x12_0000 (see
)
Table 25-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 25-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)
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