Datasheet

Chapter 2 128 Kbyte Flash Module (FTS128K1V1)
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor 95
Figure 2-9 illustrates all possible protection scenarios. Although the protection scheme is loaded from the
Flash array after reset, it is allowed to change in normal modes. This protection scheme can be used by
applications requiring re-programming in single chip mode while providing as much protection as possible
if no re-programming is required.
Table 2-9. Flash Protection Function
FPOPEN FPHDIS FPHS[1] FPHS[0] FPLDIS FPLS[1] FPLS[0] Function
1
1
For range sizes refer to Table 2-10 and Table 2-11 or .
1 1 x x 1 x x No protection
1 1 x x 0 x x Protect low range
1 0 x x 1 x x Protect high range
1 0 x x 0 x x Protect high and low ranges
0 1 x x 1 x x Full Flash array protected
0 0 x x 1 x x Unprotected high range
0 1 x x 0 x x Unprotected low range
0 0 x x 0 x x Unprotected high and low ranges
Table 2-10. Flash Protection Higher Address Range
FPHS[1:0] Address Range Range Size
00 0xF800–0xFFFF 2 Kbytes
01 0xF000–0xFFFF 4 Kbytes
10 0xE000–0xFFFF 8 Kbytes
11 0xC000–0xFFFF 16 Kbytes
Table 2-11. Flash Protection Lower Address Range
FPLS[1:0] Address Range Range Size
00 0x4000–0x43FF 1 Kbyte
01 0x4000–0x47FF 2 Kbytes
10 0x4000–0x4FFF 4 Kbytes
11 0x4000–0x5FFF 8 Kbytes