1.7.3 Erase Operation with Dual Partition Flash

dsPIC33AK512MC510 and dsPIC33AK512MPS512 family devices support the following three erase operations: Bulk Erase, Inactive Partition Erase and Page Erase.

A Bulk Erase operation erases all user memory, including the Flash Configuration Words and the FBOOT Configuration register. This restores the Boot mode of the device to its default, Single Partition mode after Reset.

An Inactive Partition Erase operation can be executed at run time from the Active Partition. It will erase all user memory and Flash Configuration Words in the Inactive Partition. The Inactive Partition Erase command is functional only when the device is in one of the Dual Partition modes.

Figure 1-2. Relationship Between Partitions 1 and 2 and Active/Inactive Partitions