English
Language : 

S912XEG128J2MAA Datasheet, PDF (881/1324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 24 128 KByte Flash Module (S12XFTM128K2V1)
Register
FSTAT
FERSTAT
Table 24-64. Erase Verify D-Flash Section Command Error Handling
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
EPVIOLIF
Error Condition
Set if CCOBIX[2:0] != 010 at command launch
Set if command not available in current mode (see Table 24-30)
Set if an invalid global address [22:0] is supplied
Set if a misaligned word address is supplied (global address [0] != 0)
Set if the global address [22:0] points to an area of the D-Flash EEE partition
Set if the requested section breaches the end of the D-Flash block or goes into
the D-Flash EEE partition
None
Set if any errors have been encountered during the read
Set if any non-correctable errors have been encountered during the read
None
24.4.2.16 Program D-Flash Command
The Program D-Flash operation programs one to four previously erased words in the D-Flash user
partition. The Program D-Flash operation will confirm that the targeted location(s) were successfully
programmed upon completion.
CAUTION
A Flash word must be in the erased state before being programmed.
Cumulative programming of bits within a Flash word is not allowed.
Table 24-65. Program D-Flash Command FCCOB Requirements
CCOBIX[2:0]
000
001
010
011
100
101
FCCOB Parameters
0x11
Global address [22:16] to
identify the D-Flash block
Global address [15:0] of word to be programmed
Word 0 program value
Word 1 program value, if desired
Word 2 program value, if desired
Word 3 program value, if desired
Upon clearing CCIF to launch the Program D-Flash command, the user-supplied words will be transferred
to the Memory Controller and be programmed. The CCOBIX index value at Program D-Flash command
launch determines how many words will be programmed in the D-Flash block. No protection checks are
made in the Program D-Flash operation on the D-Flash block, only access error checks. The CCIF flag is
set when the operation has completed.
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
881