English
Language : 

MC9S12HY64 Datasheet, PDF (555/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
32 KByte Flash Module (S12FTMRC32K1V1)
Table 15-55. Set User Margin Level Command Error Handling
Register
Error Bit
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
FSTAT
ACCERR
FPVIOL
Set if command not available in current mode (see Table 15-27)
Set if an invalid global address [17:16] is supplied1
Set if an invalid margin level setting is supplied
None
MGSTAT1 None
MGSTAT0 None
1 As defined by the memory map for FTMRC64K1.
NOTE
User margin levels can be used to check that Flash memory contents have
adequate margin for normal level read operations. If unexpected results are
encountered when checking Flash memory contents at user margin levels, a
potential loss of information has been detected.
15.4.5.13 Set Field Margin Level Command
The Set Field Margin Level command, valid in special modes only, causes the Memory Controller to set
the margin level specified for future read operations of the P-Flash or D-Flash block.
Table 15-56. Set Field Margin Level Command FCCOB Requirements
CCOBIX[2:0]
000
001
0x0E
FCCOB Parameters
Global address [17:16] to identify the Flash
block
Margin level setting
Upon clearing CCIF to launch the Set Field Margin Level command, the Memory Controller will set the
field margin level for the targeted block and then set the CCIF flag.
NOTE
When the D-Flash block is targeted, the D-Flash field margin levels are
applied only to the D-Flash reads. However, when the P-Flash block is
targeted, the P-Flash field margin levels are applied to both P-Flash and
D-Flash reads. It is not possible to apply field margin levels to the P-Flash
block only.
Valid margin level settings for the Set Field Margin Level command are defined in Table 15-57.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
555