
After clearing CCIF to launch the Read 1s All Execute-only Segments command, the
flash memory module :
• sets the read margin for 1s according to
,
• checks the contents of the program flash execute-only segments are in the erased
state.
If the flash memory module confirms that these segments are erased, flash access control
is disabled until the next reset or, after programming any of the execute-only segments,
the Read 1s All Execute-only Segments command is executed and fails with the
FSTAT[MGSTAT0] bit set. If the read fails, i.e. all segments are not in the fully erased
state, the FSTAT[MGSTAT0] bit is set.
The CCIF flag sets after the Read 1s All Execute-only Segments operation has
completed.
Table 29-34. Margin Level Choices for Read 1s All Execute-only Segments
Read Margin Choice
Margin Level Description
0x00
Use the 'normal' read level for 1s
0x01
Apply the 'User' margin to the normal read-1 level
0x02
Apply the 'Factory' margin to the normal read-1 level
Table 29-35. Read 1s All Execute-only Segments Command Error Handling
Error Condition
Error Bit
Command not available in current mode/security
FSTAT[ACCERR]
An invalid margin choice is specified
FSTAT[ACCERR]
Sector size is larger than segment size
FSTAT[ACCERR]
Read-1s fails
FSTAT[MGSTAT0]
29.4.11.14 Erase All Execute-only Segments Command
The Erase All Execute-only Segments operation erases all program flash execute-only
segments defined by the FXACC registers, verifies all segments are erased, and releases
flash access control.
Table 29-36. Erase All Execute-only Segments Command FCCOB Requirements
FCCOB Number
FCCOB Contents [7:0]
0
0x4B (ERSXA)
Functional Description
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
676
NXP Semiconductors
Содержание K22F series
Страница 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Страница 150: ...Private Peripheral Bus PPB memory map K22F Sub Family Reference Manual Rev 4 08 2016 150 NXP Semiconductors...
Страница 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Страница 198: ...Security Interactions with other Modules K22F Sub Family Reference Manual Rev 4 08 2016 198 NXP Semiconductors...
Страница 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Страница 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Страница 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Страница 628: ...Initialization and application information K22F Sub Family Reference Manual Rev 4 08 2016 628 NXP Semiconductors...
Страница 740: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 740 NXP Semiconductors...
Страница 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Страница 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Страница 866: ...Initialization Application Information K22F Sub Family Reference Manual Rev 4 08 2016 866 NXP Semiconductors...
Страница 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Страница 1028: ...Initialization Procedure K22F Sub Family Reference Manual Rev 4 08 2016 1028 NXP Semiconductors...
Страница 1040: ...Example configuration for chained timers K22F Sub Family Reference Manual Rev 4 08 2016 1040 NXP Semiconductors...
Страница 1118: ...Device mode IRC48 operation K22F Sub Family Reference Manual Rev 4 08 2016 1118 NXP Semiconductors...
Страница 1122: ...USB Voltage Regulator Module Signal Descriptions K22F Sub Family Reference Manual Rev 4 08 2016 1122 NXP Semiconductors...
Страница 1180: ...Initialization application information K22F Sub Family Reference Manual Rev 4 08 2016 1180 NXP Semiconductors...
Страница 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Страница 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...