31.1 Configuration Bits

In dsPIC33CDVL256MC506 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 31-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 31-1. dsPIC33CDV(L)XXXMCX06 Configuration Addresses
Register Name128k Address256k Address
FSEC0x015F000x02BF00
FBSLIM0x015F100x02BF10
FSIGN0x015F140x02BF14
FOSCSEL0x015F180x02BF18
FOSC0x015F1C0x02BF1C
FWDT0x015F200x02BF20
FPOR0x015F240x02BF24
FICD0x015F280x02BF28
FDMTIVTL0x015F2C0x02BF2C
FDMTIVTH0x015F300x02BF30
FDMTCNTL0x015F340x02BF34
FDMTCNTH0x015F380x02BF38
FDMT0x015F3C0x02BF3C
FDEVOPT0x015F400x02BF40
FALTREG0x015F440x02BF44