33.1.14.2 Upper and Lower PFM Erase

The Upper PFM erase NVMOP command erases the PFM in the panel mapped to the Upper PFM address range. The Lower PFM erase NVMOP command erases the PFM in the panel mapped to the Lower PFM address range. These commands leave the BFM and CFM pages intact, and are intended to be used by a field upgradeable device. To guard against accidental erasure, user code can setup PWP for protection. The ability to erase the PFM in the Upper or Lower region allows executing from one panel while erasing (or writing) the other, without the need to complete many Page Erase operations.

A Panel Erase sequence comprises the following steps:

  1. <Desired NVMOP> is both Upper and Lower PFM Erase.
  2. Follow the Start Sequencer from Start Sequencer.
  3. Wait for NVM Interrupt from Interrupts.
  4. Check the INTFLAG bits to ensure that the program sequence completed successfully, and then clear all bits in INTFLAG. See Errors and Flags about error flags.

The PFM in a panel mapped to the Upper or Lower PFM region can be erased if write protection is not enabled for addresses associated with that region.

If in mission mode, the application must not be executing from the erased region. If any initiator reads from the panel containing the region being erased, all Flash accesses are stalled until the erase completes.