mc9s12hz256v2 Freescale Semiconductor, Inc, mc9s12hz256v2 Datasheet - Page 68

no-image

mc9s12hz256v2

Manufacturer Part Number
mc9s12hz256v2
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 2 256 Kbyte Flash Module (FTS256K2V1)
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
68
KEYACC
BKSEL
CBEIE
Reset
Field
CCIE
7
6
5
0
W
R
Table
FPOPEN
Command Buffer Empty Interrupt Enable — The CBEIE bit enables an interrupt in case of an empty command
buffer in the Flash module.
0 Command buffer empty interrupt disabled.
1 An interrupt will be requested whenever the CBEIF flag (see
Command Complete Interrupt Enable — The CCIE bit enables an interrupt in case all commands have been
completed in the Flash module.
0 Command complete interrupt disabled.
1 An interrupt will be requested whenever the CCIF flag (see
Enable Security Key Writing
0 Flash writes are interpreted as the start of a command write sequence.
1 Writes to Flash array are interpreted as keys to open the backdoor. Reads of the Flash array return invalid
Block Select — The BKSEL bit indicates which register bank is active.
0 Select register bank associated with Flash block 0.
1 Select register bank associated with Flash block 1.
Table 2-1
Flash Protection Register (FPROT)
Section 2.3.2.6, “Flash Protection
F
7
is set.
is set.
data.
2-10. To change the Flash protection that will be loaded during the reset sequence, the
= Unimplemented or Reserved
must be reprogrammed.
RNV6
6
F
Figure 2-8. Flash Protection Register (FPROT)
Table 2-9. FCNFG Field Descriptions
Table 2-10. Reset Loading of FPROT
FPHDIS
Flash Address
MC9S12HZ256 Data Sheet, Rev. 2.05
5
F
0xFF0D
0xFF0C
Restrictions”).
4
F
Protection Byte for
Description
FPHS
Flash Block 0
Flash Block 1
F
3
Section 2.3.2.7, “Flash Status Register
Section 2.3.2.7, “Flash Status Register (FSTAT)”)
FPLDIS
2
F
Freescale Semiconductor
1
F
FPLS
(FSTAT)”)
F
0

Related parts for mc9s12hz256v2