8 Configuration Bits

In dsPIC33AK512MPS512 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. Their specific locations are shown in Table 8-2. The configuration data are automatically loaded from the Flash Configuration Words to the proper Configuration Shadow registers during device Resets.

In the dsPIC33AK512MPS512 family, the configuration and calibration data are duplicated in Flash for improved robustness. If a double ECC error is detected during the start-up sequence, the device will restart the loading of the calibration and configuration from the alternate set in Flash.

To maintain the integrity of the stored configuration values, logic performs on-going bit value checks. All device configuration bits are implemented as a complementary set of register bits.

Table 8-1. Configuration Regions
RegionAddress Range
CFGA10x7F3000 - 0x7F3800
CFGB0x7F4000 - 0x7F4800
CFGA20x7FB000 - 0x7FB800
Table 8-2. dsPIC33AK512MPS512 Configuration Addresses
Register NameAddressConfiguration Region
FCP0x7F3000CFGA1
FICD0x7F3010CFGA1
FDEVOPT0x7F3020CFGA1
FWDT0x7F3030CFGA1
FPR0CTRL0x7F4000CFGB
FPR0ST0x7F4004CFGB
FPR0END0x7F4008CFGB
FPR1CTRL0x7F4010CFGB
FPR1ST0x7F4014CFGB
FPR1END0x7F4018CFGB
FPR2CTRL0x7F4020CFGB
FPR2ST0x7F4024CFGB
FPR2END0x7F4028CFGB
FPR3CTRL0x7F4030CFGB
FPR3ST0x7F4034CFGB
FPR3END0x7F4038CFGB
FPR4CTRL0x7F4040CFGB
FPR4ST0x7F4044CFGB
FPR4END0x7F4048CFGB
FPR5CTRL0x7F4050CFGB
FPR5ST0x7F4054CFGB
FPR5END0x7F4058CFGB
FPR6CTRL0x7F4060CFGB
FPR6ST0x7F4064CFGB
FPR6END0x7F4068CFGB
FPR7CTRL0x7F4070CFGB
FPR7ST0x7F4074CFGB
FPR7END0x7F4078CFGB
FIRT0x7F4080CFGB
FSECDBG0x7F4090CFGB
FPED0x7F40A0CFGB
FEPUCB0x7F40B0CFGB
FWPUCB0x7F40C0CFGB
FBOOT0x7F40D0CFGB
FCP0x7FB000CFGA2
FICD0x7FB010CFGA2
FDEVOPT0x7FB020CFGA2
FWDT0x7FB030CFGA2
Table 8-3. Device ID and Revision Addresses
Register Address
DEVID0x7C2000
DEVREV0x7C2004
Table 8-4. Family Device Identifier
DeviceDevice ID ValueJTAG ID Value
dsPIC33AK512MPS5120xA77C0x0A77C053
dsPIC33AK512MPS5100xA77B0x0A77B053
dsPIC33AK512MPS5080xA77A0x0A77A053
dsPIC33AK512MPS5060xA7790x0A779053
dsPIC33AK512MPS5050xA7780x0A778053
dsPIC33AK256MPS5120xA75C0x0A75C053
dsPIC33AK256MPS5100xA75B0x0A75B053
dsPIC33AK256MPS5080xA75A0x0A75A053
dsPIC33AK256MPS5060xA7590x0A759053
dsPIC33AK256MPS5050xA7580x0A758053
dsPIC33AK512MPS2120xA73C0x0A73C053
dsPIC33AK512MPS2100xA73B0x0A73B053
dsPIC33AK512MPS2080xA73A0x0A73A053
dsPIC33AK512MPS2060xA7390x0A739053
dsPIC33AK512MPS2050xA7380x0A738053
dsPIC33AK256MPS2120xA71C0x0A71C053
dsPIC33AK256MPS2100xA71B0x0A71B053
dsPIC33AK256MPS2080xA71A0x0A71A053
dsPIC33AK256MPS2060xA7190x0A719053
dsPIC33AK256MPS2050xA7180x0A718053
dsPIC33AK512MC5100xA7630x0A763053
dsPIC33AK512MC5080xA7620x0A762053
dsPIC33AK512MC5060xA7610x0A761053
dsPIC33AK512MC5050xA7600x0A760053
dsPIC33AK256MC5100xA7430x0A743053
dsPIC33AK256MC5080xA7420x0A742053
dsPIC33AK256MC5060xA7410x0A741053
dsPIC33AK256MC5050xA7400x0A740053
dsPIC33AK512MC2100xA7230x0A723053
dsPIC33AK512MC2080xA7220x0A722053
dsPIC33AK512MC2060xA7210x0A721053
dsPIC33AK512MC2050xA7200x0A720053
dsPIC33AK256MC2100xA7030x0A703053
dsPIC33AK256MC2080xA7020x0A702053
dsPIC33AK256MC2060xA7010x0A701053
dsPIC33AK256MC2050xA7000x0A700053