3.2.2 Bulk Erase Program Memory

The Bulk Erase Program Memory command performs different functions dependent on the current PC address. The Bulk Erase command affects specific portions of the memory depending on the initial value of the Program Counter. Whenever a Bulk Erase Program Memory command is executed, the device will erase all bytes within the regions listed in the Bulk Erase Table below. While a programming command is in progress, this command executes as a NOP.

After receiving the Bulk Erase Program Memory command, the erase will not complete until the time interval, TERAB, has expired (see the Bulk Erase image below). The programming host device must not issue another 8-bit command until after the TERAB interval has fully elapsed.
Table 3-2. Bulk Erase Table
AddressArea(s) Erased
CP = 1CP = 0
0000h-7FFFh(1)User FlashUser Flash
Configuration WordsConfiguration Words
8000h-80FDhUser FlashUser Flash
Configuration WordsConfiguration Words
User ID wordsUser ID words
80FEh-80FFhUser FlashUser Flash
8100h-E7FFhNo OperationNo Operation
E800h-EFFFhUser FlashUser Flash
Configuration WordsConfiguration Words
User ID wordsUser ID words
Note:
  1. See the Program Memory Map table for device-specific PFM size and address locations.
Figure 3-7. Bulk Erase Memory