![NXP Semiconductors MC9S08LG16 Reference Manual Download Page 69](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08lg16/mc9s08lg16_reference-manual_1721837069.webp)
Chapter 4 Memory
MC9S08LG32 MCU Series, Rev. 5
Freescale Semiconductor
69
4.8.2
Flash Options Register (FOPT and NVOPT)
During reset, the contents of the nonvolatile location NVOPT are copied from flash into FOPT. To change
the value in this register, erase and reprogram the NVOPT location in flash memory as usual and then issue
a new MCU reset.
Table 4-8. Flash Clock Divider Settings
f
Bus
PRDIV8
(Binary)
DIV
(Decimal)
f
FCLK
Program/Erase Timing Pulse
(5
μ
s Min, 6.7
μ
s Max)
20 MHz
1
12
192.3 kHz
5.2
μ
s
10 MHz
0
49
200 kHz
5
μ
s
8 MHz
0
39
200 kHz
5
μ
s
4 MHz
0
19
200 kHz
5
μ
s
2 MHz
0
9
200 kHz
5
μ
s
1 MHz
0
4
200 kHz
5
μ
s
200 kHz
0
0
200 kHz
5
μ
s
150 kHz
0
0
150 kHz
6.7
μ
s
7
6
5
4
3
2
1
0
R
KEYEN
FNORED
0
0
0
0
SEC01
SEC00
W
Reset
This register is loaded from nonvolatile location NVOPT during reset.
= Unimplemented or Reserved
Figure 4-6. Flash Options Register (FOPT)
Table 4-9. FOPT Register Field Descriptions
Field
Description
7
KEYEN
Backdoor Key Mechanism Enable
— When this bit is 0, the backdoor key mechanism cannot be used to
disengage security. The backdoor key mechanism is accessible only from the user (secured) firmware. BDM
commands cannot be used to write key comparison values that would unlock the backdoor key. For more detailed
information about the backdoor key mechanism, refer to
.”
0 No backdoor key access allowed.
1 If user firmware writes an 8-byte value that matches the nonvolatile backdoor key (NVBACKKEY through
NV7 in that order), security is temporarily disengaged until the next MCU reset.
6
FNORED
Vector Redirection Disable
— When this bit is 1, then vector redirection is disabled.
0 Vector redirection enabled.
1 Vector redirection disabled.
1:0
SEC0[1:0]
Security State Code
— This 2-bit field determines the security state of the MCU as shown in
. When
the MCU is secure, the contents of RAM and flash memory cannot be accessed by instructions from any
unsecured source including the background debug interface. SEC01:SEC00 changes to 1:0 after successful
backdoor key entry or a successful blank check of flash.
For more detailed information about security, refer to
.”
Summary of Contents for MC9S08LG16
Page 2: ......
Page 4: ......
Page 8: ......
Page 20: ......
Page 26: ...Chapter 1 Device Overview MC9S08LG32 MCU Series Rev 5 26 Freescale Semiconductor...
Page 40: ...Chapter 2 Pins and Connections MC9S08LG32 MCU Series Rev 5 40 Freescale Semiconductor...
Page 372: ......