Chapter 21 128 Kbyte Flash Module (S12FTS128K1V1)
624
MC9S12C-Family / MC9S12GC-Family
Freescale Semiconductor
Rev 01.24
Figure 21-9. Flash Protection Scenarios
21.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
. 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 21-12. Flash Protection Scenario Transitions
From
Protection
Scenario
To Protection Scenario
(1)
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
7
6
5
4
FPOPEN = 1
3
2
1
0
FPHS[1:0]
FPLS[1:0]
FPOPEN = 0
FPHDIS = 1
FPLDIS = 1
FPHDIS = 1
FPLDIS = 0
FPHDIS = 0
FPLDIS = 1
FPHDIS = 0
FPLDIS = 0
Scenario
Scenario
Protected Flash
FPHS[1:0]
FPLS[1:0]
0xFFFF
0xFFFF
Summary of Contents for MC9S12C Family
Page 689: ......