Triggering An Erase All External To The Flash Memory Module; Verify Backdoor Access Key Command - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

1. User margin read may be run using the Read 1s All Blocks command to verify all bits are erased.

32.4.10.9.1 Triggering an Erase All External to the Flash Memory Module

The functionality of the Erase All BlocksErase All Blocks Unsecure command is also
available in an uncommanded fashion outside of the flash memory. Refer to the device's
Chip Configuration details for information on this functionality.
Before invoking the external erase all function, the FSTAT[ACCERR and PVIOL] flags
must be cleared and the FCCOB0 register must not contain 0x44. When invoked, the
erase-all function erases all program flash memory regardless of the protection settings. If
the post-erase verify passes, access control determined by the contents of the FXACC
registers is disabled and the routine then releases security by setting the FSEC[SEC] field
register to the unsecure state. The security byte in the Flash Configuration Field is also
programmed to the unsecure state. The status of the erase-all request is reflected in the
FCNFG[ERSAREQ] bit. The FCNFG[ERSAREQ] bit is cleared once the operation
completes and the normal FSTAT error reporting is available as described in
Blocks
Command.

32.4.10.10 Verify Backdoor Access Key Command

The Verify Backdoor Access Key command only executes if the mode and security
conditions are satisfied (see
Backdoor Access Key command is further qualified by the FSEC[KEYEN] bits. The
Verify Backdoor Access Key command releases security if user-supplied keys in the
FCCOB match those stored in the Backdoor Comparison Key bytes of the Flash
Configuration Field (see
Flash Configuration Field offset address shows the location of the matching byte in the
Flash Configuration Field.
Table 32-67. Verify Backdoor Access Key Command FCCOB Requirements
FCCOB Number
0
1-3
4
5
6
7
8
9
A
Freescale Semiconductor, Inc.
Flash Commands by
Flash Configuration Field
FCCOB Contents [7:0]
0x45 (VFYKEY)
Not Used
Key Byte 0
Key Byte 1
Key Byte 2
Key Byte 3
Key Byte 4
Key Byte 5
Key Byte 6
Table continues on the next page...
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 32 Flash Memory Module (FTFA)
Mode). Execution of the Verify
Description). The column labelled
Flash Configuration Field Offset Address
0x0_0003
0x0_0002
0x0_0001
0x0_0000
0x0_0007
0x0_0006
0x0_0005
Erase All
647

Advertisement

Table of Contents
loading

Table of Contents