Datasheet
Table 4-41. Verify backdoor access key command error handling
Register Error bit Error condition
NVM_FSTAT
ACCERR
Set if CCOBIX[2:0] ≠ 100 at command launch
Set if an incorrect backdoor key is supplied
Set if backdoor key access has not been enabled (KEYEN[1:0] ≠ 10
Set if the backdoor key has mismatched since the last reset
FPVIOL None
MGSTAT1 None
MGSTAT0 None
4.5.2.9.12 Set user margin level command
The user margin is a small delta to the normal read reference level and, in effect, is a
minimum safety margin. That is, if the reads pass at the tighter tolerances of the user
margins, the normal reads have at least that much safety margin before users experience
data loss.
The set user margin level command causes the memory controller to set the margin level
for future read operations of the flash or EEPROM block.
Table 4-42. Set user margin level command FCCOB requirements
CCOBIX[2:0] NVM_FCCOBHI parameters NVM_FCCOBLO parameters
000 0x0D Global address [23:16] to identify flash block
1
001 Global address [15:0] to identify flash block
010 Margin level setting
1. Global Address [23] selects between flash (0) or EEPROM (1) block, that can otherwise eventually share the same
address on the MCU global memory map.
Upon clearing NVM_FSTAT[CCIF] to launch the set user margin level command, the
memory controller will set the user margin level for the targeted block and then set the
NVM_FSTAT[CCIF] flag.
Note
When the EEPROM block is targeted, the EEPROM user
margin levels are applied only to the EEPROM reads. However,
when the Flash block is targeted, the flash user margin levels
are applied to both Flash and EEPROM reads. It is not possible
to apply user margin levels to the flash block only.
Valid margin level settings for the set user margin level command are defined in the
following tables.
Chapter 4 Memory map
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 101
