Datasheet

Chapter 18 32 Kbyte Flash Module (S12FTS32KV1)
514 MC9S12C-Family / MC9S12GC-Family Freescale Semiconductor
Rev 01.24
Figure 18-9. Flash Protection Scenarios
18.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 18-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 18-12. Flash Protection Scenario Transitions
From
Protection
Scenario
To Protection Scenario
(1)
01234567
0 XXXX
1XX
2XX
3X
4XX
5 XXXX
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