English
Language : 

MC9S12Q128_10 Datasheet, PDF (542/644 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 19 96 Kbyte Flash Module (S12FTS96KV1)
Scenario
FPHDIS = 1
FPLDIS = 1
7
FPHDIS = 1
FPLDIS = 0
6
FPHDIS = 0
FPLDIS = 1
5
FPHDIS = 0
FPLDIS = 0
4
0xFFFF
Scenario
3
2
1
0
0xFFFF
Protected Flash
Figure 19-9. Flash Protection Scenarios
19.3.2.5.1 Flash Protection Restrictions
The general guideline is that protection can only be added, not removed. All valid transitions between
Flash protection scenarios are specified in Table 19-12. Any attempt to write an invalid scenario to the
FPROT register will be ignored and the FPROT register will remain unchanged. The contents of the
FPROT register reflect the active protection scenario.
Table 19-12. Flash Protection Scenario Transitions
From
To Protection Scenario(1)
Protection
Scenario
0
1
2
3
4
5
6
7
0
X
X
X
X
1
X
X
2
X
X
3
X
4
X
X
5
X
X
X
X
542
MC9S12Q128
Freescale Semiconductor
Rev 1.10