In dsPIC33AK128MC106 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 7-2.
In the dsPIC33AK128MC106 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 7-1. Configuration RegionsRegion | Configuration Regions |
---|
CFGA | 0x7F3000 - 0x7F3800 |
CFGB | 0x7F4000 - 0x7F4800 |
Table 7-3. Device ID and Revision AddressesRegister | Address |
---|
DEVID | 0x7C2000 |
DEVREV | 0x7C0004 |
Table 7-4. Family Device IdentifierDevice | Device ID Value | JTAG ID Value |
---|
dsPIC33AK32MC102 | 0x9D00 | 0x09D00053 |
dsPIC33AK32MC103 | 0x9D01 | 0x09D01053 |
dsPIC33AK32MC105 | 0x9D02 | 0x09D02053 |
dsPIC33AK32MC106 | 0x9D03 | 0x09D03053 |
dsPIC33AK64MC102 | 0x9D10 | 0x09D10053 |
dsPIC33AK64MC103 | 0x9D11 | 0x09D11053 |
dsPIC33AK64MC105 | 0x9D12 | 0x09D12053 |
dsPIC33AK64MC106 | 0x9D13 | 0x09D13053 |
dsPIC33AK128MC102 | 0x9D20 | 0x09D20053 |
dsPIC33AK128MC103 | 0x9D21 | 0x09D21053 |
dsPIC33AK128MC105 | 0x9D22 | 0x09D22053 |
dsPIC33AK128MC106 | 0x9D23 | 0x09D23053 |
Note: The register summary covers CFGA and CFGB areas.