English
Language : 

MC9S12HY64 Datasheet, PDF (655/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Register
FSTAT
64 KByte Flash Module (S12FTMRC64K1V1)
Table 17-55. Set User Margin Level Command Error Handling
Error Bit
ACCERR
FPVIOL
MGSTAT1
MGSTAT0
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see Table 17-27)
Set if an invalid global address [17:16] is supplied
Set if an invalid margin level setting is supplied
None
None
None
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.
17.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 17-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 17-57.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
655