10 Configuration Bits

In PIC32AK1216GC41064 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. There are two types of regions, CFGA for general purpose and CFGB for security. Both regions have a backup copy. The configuration data are automatically loaded from the Flash Configuration Words to the proper Configuration Shadow registers during device Resets. The locations of the CFGA and CFGB registers are shown in Table 10-2.

In the PIC32AK1216GC41064 family, the configuration and calibration data is 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 backup set in Flash. The backup addresses are offset 0x800 from their counterpart. When programming the Configuration bits, both the regular and backup sets should be programmed identically. Within the MPLAB IDE, only the regular set are configured. The backup set's duplication and programming is handled by the tool set.

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

Table 10-1. Configuration Regions
RegionConfiguration Regions
CFGA0x7F3000 - 0x7F3800
CFGB0x7F4000 - 0x7F4800
Table 10-2. PIC32AK1216GC41064 Configuration Addresses
Register NameAddressRegister NameAddress
FCP0x7F3000FPR4ST0x7F4044
FICD0x7F3010FPR4END0x7F4048
FDEVOPT0x7F3020FPR5CTRL0x7F4050
FWDT0x7F3030FPR5ST0x7F4054
FPR0CTRL0x7F4000FPR5END0x7F4058
FPR0ST0x7F4004FPR6CTRL0x7F4060
FPR0END0x7F4008FPR6ST0x7F4064
FPR1CTRL0x7F4010FPR6END0x7F4068
FPR1ST0x7F4014FPR7CTRL0x7F4070
FPR1END0x7F4018FPR7ST0x7F4074
FPR2CTRL0x7F4020FPR7END0x7F4078
FPR2ST0x7F4024FIRT0x7F4080
FPR2END0x7F4028FSECDBG0x7F4090
FPR3CTRL0x7F4030FPED0x7F40A0
FPR3ST0x7F4034FEPUCB0x7F40B0
FPR3END0x7F4038FWPUCB0x7F40C0
FPR4CTRL0x7F4040
Table 10-3. Device ID and Revision Addresses
RegisterAddress
DEVID0x7C2000
DEVREV0x7C0004
Table 10-4. Family Device Identifier
DeviceDevice ID ValueJTAG ID Value
PIC32AK1216GC410640x9DA30x09DA3053
PIC32AK1216GC410480x9DA20x09DA2053
PIC32AK1216GC410360x9DA10x09DA1053
PIC32AK6416GC41064 0x9D930x09D93053
PIC32AK6416GC410480x9D920x09D92053
PIC32AK6416GC410360x9D910x09D91053
PIC32AK3208GC410640x9D830x09D83053
PIC32AK3208GC410480x9D820x09D82053
PIC32AK3208GC410360x9D810x09D81053
Note: The register summary covers CFGA and CFGB areas.