English
Language : 

S12FTS128KV1 Datasheet, PDF (24/46 Pages) Freescale Semiconductor, Inc – 128k byte Flash (Non-Volatile) Memory
Block Guide — FTS128K V01.0F3reescale Semiconductor, Inc.
Table 3-5 Register Bank Selects
BKSEL
0
1
Selected Register
Bank
Flash 0
Flash 1
3.3.5 FPROT — Flash Protection Register
The FPROT register defines which Flash sectors are protected against program or erase. This register is
banked.
Register address BASE + $104
7
R
W
FPOPEN
Reset: F
6
NV6
F
5
FPHDIS
F
4
FPHS1
F
3
FPHS0
F
2
FPLDIS
F
1
FPLS1
F
0
FPLS0
F
= Unimplemented or Reserved
Figure 3-6 Flash Protection Register (FPROT)
The FPROT register is readable in user and special modes. Bit NV6 is not writable. FPOPEN, FPHDIS
and FPLDIS bits in the FPROT register can only be written to the protected state (i.e. 0). FPLS[1:0] can
be written anytime until bit FPLDIS is cleared. FPHS[1:0] bits can be written anytime until bit FPHDIS is
cleared. If the FPOPEN bit is cleared, then the state of the FPHDIS, FPHS[1:0], FPLDIS and FPLS[1:0]
bits is irrelevant. The FPROT register is loaded from the Flash array during reset according to the
following table.
Table 3-6 Loading of the Protection Register from Flash
Flash Address
$FF0D
$FF0C
Protection byte for
Flash 0
Flash 1
To change the Flash protection that will be loaded on reset, the upper sector of Flash must be unprotected,
then the Flash Protect/Security byte located as described in Table 3-1 must be written to.
A protected Flash sector is disabled by the bits FPHDIS and FPLDIS while the size of the protected sector
is defined by FPHS[1:0] and FPLS[1:0] in the FPROT register.
24
For More Information On This Product,
Go to: www.freescale.com