6.4.3.4.1 Inactive Panel Erase Sequence

An inactive panel erase sequence typically includes the following steps, subject to the constraints externally imposed by the Security module:

  1. Configure NVMCON to Word program:
    1. WREN = 1
    2. PROGOP = Inactive panel erase (0x4)
  2. Set the WR bit.
  3. The program sequence is completed and the WR bit is cleared by hardware.
  4. Clear WREN bit.
  5. Test the WRERR bit to ensure the program sequence is completed successfully.