
Table 23-3. Interface Signals (continued)
Signal
Width
From
To
Description
0x20 for 32 segments
fac_enable
1
SIM
FMU
SIM Option bit - derived from an IFR bit and captured in
SIM_SOPTx. A way to disable the flash access control for phantom
devices without this feature.
fac_enable==1 - Access Control feature is enabled
fac_enable==0 - Access Control feature is disabled
• During the reset sequence, XACC registers are written to all
"1"s.
• During the reset sequence, SACC registers are written to all
1"s.
• Implied protection based on XACC registers is turned off.
23.5.2.2 Flash Command Impact
Program Longword/Phrase/
Section
If the targeted flash location is in an execute-only protected segment, then these program
commands are not allowed unless a Read 1s All Blocks command is executed and returns
with a pass code (which means the part has been fully erased). After the Read 1s All Blocks
command is executed with a pass code returned, then the protected segment is open to
program commands. To close off programmability to execute-only spaces once again, the
device must be reset or a Read 1s All Blocks command is executed with a fail result.
Attempts to program in a protected segment
when not open to program commands
causes a
Protection Violation flag.
PGMCHK
The FMU will not execute the PGMCHK on a segment that has been configured as execute-
only. The Flash Protection Violation flag is set if an attempt is made to execute PGMCHK
command on an execute-only address.
Erase Flash Sector
If the targeted flash sector is in an execute-only protected segment, then the Erase Flash
Sector command is not allowed, and sets the Protection Violation flag. The only means of
erasing protected space is by an Erase All operation.
ERSALL
The Erase All Blocks command is not affected by Access Control. An Erase All Blocks
command will erase any libraries that have been programmed in any execute-only segment.
The programmed execute-only assignment is not erased as part of the Erase All Blocks
command, and access control regions remain as previously programmed.
NOTE: The ERSALL command may be used for field upgrades. Access control states
remain programmed. Software must plan accordingly, possibly making extra space
available for future use.
23.5.2.3 Core Platform Impact
Platform core caches (Flash
and LMEM caches)
If any segment is marked as
execute-only
, then the caches are hidden from the user. The tag
is read-only and cannot be written, and the data caches cannot be read or written. Writes to
the tag and data arrays are ignored, and reads of the data array return 0's. This will impact
debug breakpoints. See the debug section for details.
Table continues on the next page...
Flash Access Control (FAC) Function
K32 L2A Reference Manual, Rev. 2, 01/2020
598
NXP Semiconductors
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...