30.1 Configuration Bits

In dsPIC33CK512MP608 family devices, the Configuration Words are implemented as volatile memory. This means that configuration data will get loaded to volatile memory (from the Flash Configuration Words) each time the device is powered up. Configuration data are stored at the end of the on-chip program memory space, known as the Flash Configuration Words. Their specific locations are shown in Table 30-1. The configuration data are automatically loaded from the Flash Configuration Words to the proper Configuration Shadow registers during device Resets.

When creating applications for these devices, users should always specifically allocate the location of the Flash Configuration Words for configuration data in their code for the compiler. This is to make certain that program code is not stored in this address when the code is compiled. Program code executing out of configuration space will cause a device Reset.

Note: Performing a page erase operation on the last page of program memory clears the Flash Configuration Words.
Table 30-1. dsPIC33CKXXXMPX0X Configuration Addresses
Register NameSingle PartitionDual Partition, ActiveDual Partition, Inactive
256k Address512k Address256k Address512k Address256k Address512k Address
FSEC(1)0x02BF000x057F000x015F000x02BF000x415F000x42BF00
FBSLIM(1)0x02BF100x057F100x015F100x02BF100x415F100x42BF10
FSIGN(1)0x02BF140x057F140x015F140x02BF140x415F140x42BF14
FOSCSEL0x02BF180x057F180x015F180x02BF180x415F180x42BF18
FOSC0x02BF1C0x057F1C0x015F1C0x02BF1C0x415F1C0x42BF1C
FWDT0x02BF200x057F200x015F200x02BF200x415F200x42BF20
FPOR0x02BF240x057F240x015F240x02BF240x415F240x42BF24
FICD0x02BF280x057F280x015F280x02BF280x415F280x42BF28
FDMTIVTL0x02BF2C0x057F2C0x015F2C0x02BF2C0x415F2C0x42BF2C
FDMTIVTH0x02BF300x057F300x015F300x02BF300x415F300x42BF30
FDMTCNTL0x02BF340x057F340x015F340x02BF340x415F340x42BF34
FDMTCNTH0x02BF380x057F380x015F380x02BF380x415F380x42BF38
FDMT0x02BF3C0x057F3C0x015F3C0x02BF3C0x415F3C0x42BF3C
FDEVOPT0x02BF400x057F400x015F400x02BF400x415F400x42BF40
FALTREG0x02BF440x057F440x015F440x02BF440x415F440x42BF44
FALTSEQ0x02BFFC0x057FFC0x015FFC0x02BFFC0x415FFC0x42BFFC
FBOOT(2)0x801800
Note:
  1. Changes to the Inactive Partition Configuration Words affect how the Active Partition accesses the Inactive Partition.
  2. FBOOT resides in calibration memory space.
Table 30-2. dsPIC33CKXXXMPX0X Configuration Addresses
Register NameSingle PartitionDual Partition, ActiveDual Partition, Inactive
64k Address32k Address64k Address32k Address64k Address32k Address
FSEC(1)0x00AF000x005F000x0057000x002F000x4057000x402F00
FBSLIM(1)0x00AF100x005F100x0057100x002F100x4057100x402F10
FSIGN(1)0x00AF140x005F140x0057140x002F140x4057140x402F14
FOSCSEL0x00AF180x005F180x0057180x002F180x4057180x402F18
FOSC0x00AF1C0x005F1C0x00571C0x002F1C0x40571C0x402F1C
FWDT0x00AF200x005F200x0057200x002F200x4057200x402F20
FPOR0x00AF240x005F240x0057240x002F240x4057240x402F24
FICD0x00AF280x005F280x0057280x002F280x4057280x402F28
FDMTIVTL0x00AF2C0x005F2C0x00572C0x002F2C0x40572C0x402F2C
FDMTIVTH0x00AF300x005F300x0057300x002F300x4057300x402F30
FDMTCNTL0x00AF340x005F340x0057340x002F340x4057340x402F34
FDMTCNTH0x00AF380x005F380x0057380x002F380x4057380x402F38
FDMT0x00AF3C0x005F3C0x00573C0x002F3C0x40573C0x402F3C
FDEVOPT0x00AF400x005F400x0057400x002F400x4057400x402F40
FALTREG0x00AF440x005F440x0057440x002F440x4057440x402F44
FALTSEQ0x00AFFC0x005FFC0x0057FC0x002FFC0x4057FC0x402FFC
FBOOT(2)0x801800
Note:
  1. Changes to the Inactive Partition Configuration Words affect how the Active Partition accesses the Inactive Partition.
  2. FBOOT resides in calibration memory space.