1.7 Dual Partition Flash Programming Considerations

The dsPIC33AK512MC510 and dsPIC33AK512MPS512 family of devices supports a Single Partition Flash mode and two Dual Partition Flash modes. The Dual Partition Flash modes allow the device to be programmed with two separate applications to facilitate bootloading or to allow an application to be programmed at run time without stalling the CPU.

The part’s Boot mode is determined by the BTMODE[1:0] bits in the FBOOT Configuration register (see Table 1-8). The device will automatically check FBOOT on Reset and determine the appropriate Boot mode.

Table 1-8. Boot Mode Select
FBOOT[1:0] Boot Mode
11Single Partition Flash mode (default)
10Dual Partition Flash mode
01Protected Dual Partition Flash mode
00Reserved

Protected Dual Partition Flash mode prevents run-time programming and erase functions for Partition 1. ICSP modes are not affected.