Chapter 21 64 KB Flash Module (S12ZFTMRZ64K2KV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
701
21.3.2.4
Flash Protection Status Register (FPSTAT)
This Flash register holds the status of the Protection Override feature.
All bits in the FPSTAT register are readable but are not writable.
21.3.2.5
Flash Configuration Register (FCNFG)
The FCNFG register enables the Flash command complete interrupt, control generation of wait-states and
forces ECC faults on Flash array read access from the CPU.
Table 21-12. FCCOBIX Field Descriptions
Field
Description
2–0
CCOBIX[1:0]
Common Command Register Index
— The CCOBIX bits are used to indicate how many words of the FCCOB
register array are being read or written to. See
Section 21.3.2.13, “Flash Common Command Object Registers
,” for more details.
Offset Module Base + 0x0003
7
6
5
4
3
2
1
0
R
FPOVRD
0
0
0
0
0
0
WSTATACK
W
Reset
0
0
0
0
0
0
0
1
= Unimplemented or Reserved
Figure 21-8. Flash Protection Status Register (FPSTAT)
Table 21-13. FPSTAT Field Descriptions
Field
Description
7
FPOVRD
Flash Protection Override Status
— The FPOVRD bit indicates if the Protection Override feature is currently
enabled. See
Section 21.4.7.17, “Protection Override Command
” for more details.
0 Protection is not overridden
1 Protection is overridden, contents of registers FPROT and/or DFPROT (and effective protection limits
determined by their current contents) were determined during execution of command Protection Override
0
WSTATACK
Wait-State Switch Acknowledge
— The WSTATACK bit indicates that the wait-state configuration is
effectively set according to the value configured on bits FCNFG[WSTAT] (see
Configuration Register (FCNFG)
”). WSTATACK bit is cleared when a change in FCNFG[WSTAT] is requested
by writing to those bits, and is set when the Flash has effectively switched to the new wait-state configuration.
The application must check the status of WSTATACK bit to make sure it reads as 1 before changing the
frequency setup (see
Section 21.4.3, “Flash Block Read Access
”).
0 Wait-State switch is pending, Flash reads are still happening according to the previous value of
FCNFG[WSTAT]
1 Wait-State switch is complete, Flash reads are already working according to the value set on
FCNFG[WSTAT]