27.1 Configuration Bits

In dsPIC33CK256MC006 family devices, the Configuration Words are implemented as volatile memory. This means that configuration data will be 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 27-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 ensure 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 27-1. dsPIC33CKXXXMCX0X Configuration Addresses
Register Name32k Address64k Address128k Address256k Address
FSEC0x005F000x00AF000x015F000x02BF00
FBSLIM0x005F100x00AF100x015F100x02BF10
FSIGN0x005F140x00AF140x015F140x02BF14
FOSCSEL0x005F180x00AF180x015F180x02BF18
FOSC0x005F1C0x00AF1C0x015F1C0x02BF1C
FWDT0x005F200x00AF200x015F200x02BF20
FPOR0x005F240x00AF240x015F240x02BF24
FICD0x005F280x00AF280x015F280x02BF28
FDMTIVTL0x005F2C0x00AF2C0x015F2C0x02BF2C
FDMTIVTH0x005F300x00AF300x015F300x02BF30
FDMTCNTL0x005F340x00AF340x015F340x02BF34
FDMTCNTH0x005F380x00AF380x015F380x02BF38
FDMT0x005F3C0x00AF3C0x015F3C0x02BF3C
FDEVOPT0x005F400x00AF400x015F400x02BF40
FALTREG0x005F440x00AF440x015F440x02BF44