mc9s12e256 Freescale Semiconductor, Inc, mc9s12e256 Datasheet - Page 93

no-image

mc9s12e256

Manufacturer Part Number
mc9s12e256
Description
Hcs12 Microcontrollers 16-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12e256CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s12e256CPVE
Manufacturer:
FREESCA
Quantity:
300
Part Number:
mc9s12e256CPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256MFUE
Manufacturer:
FREESCAL
Quantity:
329
Part Number:
mc9s12e256MFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256MPVE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12e256VFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
2.3.2.5
The banked FPROT register defines which Flash sectors are protected against program or erase operations.
All bits in the FPROT register are readable and writable with restrictions except for RNV[6] which is only
readable (see
During reset, the banked FPROT registers are loaded from the Flash Configuration Field at the address
shown in
upper sector of the Flash memory must be unprotected, then the Flash Protect/Security byte located as
described in
Trying to alter data in any of the protected areas in the Flash block will result in a protection violation error
and the PVIOL flag will be set in the FSTAT register. A mass erase of the Flash block is not possible if
any of the contained Flash sectors are protected.
Freescale Semiconductor
FPHS[1:0]
FPOPEN
FPHDIS
RNV[6]
Reset
Field
4:3
7
6
5
W
R
Table
FPOPEN
Protection Function Bit — The FPOPEN bit determines the protection function for program or erase as shown
in
0 FPHDIS and FPLDIS bits define unprotected address ranges as specified by the corresponding FPHS[1:0]
1 FPHDIS and FPLDIS bits enable protection for the address range specified by the corresponding FPHS[1:0]
Reserved Nonvolatile Bit — The RNV[6] bit must remain in the erased state 1 for future enhancements.
Flash Protection Higher Address Range Disable — The FPHDIS bit determines whether there is a
protected/unprotected area in the higher address space of the Flash block.
0 Protection/Unprotection enabled
1 Protection/Unprotection disabled
Flash Protection Higher Address Size — The FPHS[1:0] bits determine the size of the protected/unprotected
area as shown in
Table 2-1
Flash Protection Register (FPROT)
Section 2.3.2.6, “Flash Protection
F
7
Table
and FPLS[1:0] bits. For an MCU without an EEPROM module, the FPOPEN clear state allows the main part
of the Flash block to be protected while a small address range can remain unprotected for EEPROM
emulation.
and FPLS[1:0] bits.
2-10. To change the Flash protection that will be loaded during the reset sequence, the
2-12.
= Unimplemented or Reserved
must be reprogrammed.
RNV6
6
F
Table
Figure 2-8. Flash Protection Register (FPROT)
2-13. The FPHS[1:0] bits can only be written to while the FPHDIS bit is set.
Table 2-11. FPROT Field Descriptions
Table 2-10. Reset Loading of FPROT
FPHDIS
Flash Address
MC9S12E256 Data Sheet, Rev. 1.08
5
F
0xFF0D
0xFF0C
Restrictions”).
F
4
Protection Byte for
Description
FPHS
Flash Block 0
Flash Block 1
F
3
Chapter 2 256 Kbyte Flash Module (FTS256K2V1)
FPLDIS
2
F
1
F
FPLS
0
F
93

Related parts for mc9s12e256