Datasheet

Chapter 19 64 Kbyte Flash Module (S12FTS64KV4)
550 MC9S12C-Family / MC9S12GC-Family Freescale Semiconductor
Rev 01.24
Figure 19-11 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 19-10. Flash Protection Function
FPOPEN FPHDIS FPHS[1] FPHS[0] FPLDIS FPLS[1] FPLS[0] Function
(1)
1. For range sizes refer to Table 19-11 and Table 19-12 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 19-11. 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 19-12. 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