18.4.3 Calculating for “DCR” in the Checksum Formula

Since the device Configuration registers are left in their default state, the value of the appropriate DEVCFG register – as read by the PIC32 core, its respective mask value, the value derived from applying the mask and the 32-bit summation of bytes (all as shown in Table 18-2) provide the total of the 32-bit summation of bytes.

From Table 18-2, the value of “DCRZ” is:
  • DCR = 0x000003D6 (32-bit number)
Table 18-2. DCR Calculation Example
RegisterPOR Default ValueMaskPOR Default Value and Mask32-Bit Summation of Bytes
DEVCFG00x7FFFFFFF0x110FF00B0x110FF00B0x0000011B
DEVCFG10xFFFFFFFF0x009FF7A70x009FF7A70x0000023D
DEVCFG20xFFFFFFFF0x000700770x000700770x0000007E
DEVCFG30xFFFFFFFF0x000000000x000000000x00000000
Total of the 32-bit summation of Bytes =0x000003D6