Command CE_ALL
This command initiates a chip erase operation, which removes all data from the PFM and CFM.ROMCFG memory regions and clears all volatile memory. CFM.SIGNATURE, CFM.BOOTCFG, pages are not erased. The Boot ROM performs CMD_CE_ALL in stages, erasing ROMCFG after all other memories have been wiped. The final step is to program the device to DAL2. A Reset is required after the command completes to access the device at DAL2.
The Boot ROM accepts the command access controls selected in ROMCFG for all Debug Access Levels. Therefore, if the device is at DAL2 but Chip Erase is Locked (via the ROMCFG setting), the device cannot be erased via CMD_CE_ALL from Interactive mode. In this case, Park mode must be used to perform a chip erase by issuing a CHER command to the NVMCTRL.
The Table 6-16 defines the command structure, and Figure 6-8 shows the communication sequence.
| Type | Input | Size | Range | Output | Comment |
|---|---|---|---|---|---|
| Command | CMD_CE_ALL | 32 bits | STATUS_ERR_EXEC STATUS_ARG_INVALID STATUS_CMD_VALID STATUS_CHALLENGE | Refer to Table 6-9 and Table 6-10 | |
| Authenticate | 128 bits | Challenge[] | LS Word first | ||
| Authenticate | Response[] | 256 bits | STATUS_ARG_AUTH STATUS_CMD_VALID | LS Word first | |
| Result | 32 bits | STATUS_ERR_ERASE STATUS_OK | Refer to Table 6-9 and Table 6-10 |
