Datasheet
Chapter 18 32 Kbyte Flash Module (S12FTS32KV1)
Freescale Semiconductor MC9S12C-Family / MC9S12GC-Family 513
Rev 01.24
Figure 18-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 18-9. Flash Protection Function
FPOPEN FPHDIS FPHS[1] FPHS[0] FPLDIS FPLS[1] FPLS[0] Function
(1)
1. For range sizes refer to Table 18-10 and or Table 18-11.
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 18-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 18-11. Flash Protection Lower Address Range
FPLS[1:0] Address Range Range Size
00 0x4000–0x41FF 512 bytes
01 0x4000–0x43FF 1 Kbyte
10 0x4000–0x47FF 2 Kbytes
11 0x4000–0x4FFF 4 Kbytes