English
Language : 

MC9S12HY64 Datasheet, PDF (524/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
32 KByte Flash Module (S12FTMRC32K1V1)
Offset Module Base + 0x0001
R
W
Reset
7
6
5
4
3
2
KEYEN[1:0]
RNV[5:2]
F
F
F
F
F
F
= Unimplemented or Reserved
Figure 15-6. Flash Security Register (FSEC)
1
0
SEC[1:0]
F
F
All bits in the FSEC register are readable but not writable.
During the reset sequence, the FSEC register is loaded with the contents of the Flash security byte in the
Flash configuration field at global address 0x3_FF0F located in P-Flash memory (see Table 15-3) as
indicated by reset condition F in Figure 15-6. If a double bit fault is detected while reading the P-Flash
phrase containing the Flash security byte during the reset sequence, all bits in the FSEC register will be
set to leave the Flash module in a secured state with backdoor key access disabled.
Table 15-8. FSEC Field Descriptions
Field
Description
7–6
Backdoor Key Security Enable Bits — The KEYEN[1:0] bits define the enabling of backdoor key access to the
KEYEN[1:0] Flash module as shown in Table 15-9.
5–2
Reserved Nonvolatile Bits — The RNV bits should remain in the erased state for future enhancements.
RNV[5:2}
1–0
Flash Security Bits — The SEC[1:0] bits define the security state of the MCU as shown in Table 15-10. If the
SEC[1:0] Flash module is unsecured using backdoor key access, the SEC bits are forced to 10.
Table 15-9. Flash KEYEN States
KEYEN[1:0]
Status of Backdoor Key Access
00
DISABLED
01
DISABLED1
10
ENABLED
11
DISABLED
1 Preferred KEYEN state to disable backdoor key access.
Table 15-10. Flash Security States
SEC[1:0]
Status of Security
00
SECURED
01
SECURED1
10
UNSECURED
11
SECURED
1 Preferred SEC state to set MCU to secured state.
The security function in the Flash module is described in Section 15.5.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
524
Freescale Semiconductor