The Flash Page Erase (FLPER) mode will allow each write to the memory array to erase a page.
An erase operation to the Flash will halt the CPU.