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)
Register | POR Default Value | Mask | POR Default Value and Mask | 32-Bit Summation of Bytes |
---|---|---|---|---|
DEVCFG0 | 0x7FFFFFFF | 0x110FF00B | 0x110FF00B | 0x0000011B |
DEVCFG1 | 0xFFFFFFFF | 0x009FF7A7 | 0x009FF7A7 | 0x0000023D |
DEVCFG2 | 0xFFFFFFFF | 0x00070077 | 0x00070077 | 0x0000007E |
DEVCFG3 | 0xFFFFFFFF | 0x00000000 | 0x00000000 | 0x00000000 |
Total of the 32-bit summation of Bytes = | 0x000003D6 |