CRC Tables
If Microchip is performing Quick Turn Programming (QTP) for a customer, the following CRC tables must also be programmed for these regions. Otherwise, if the customer is performing their own Flash programming, they are strongly encouraged to create and program these CRC tables so the contents can be verified even after the device is secured.
| Region |
|---|
| BOOT |
| Main |
All information in the SIGNATURE and BOOTCFG sectors can always be read directly using the READCFM capability of the Boot ROM, Therefore, CRC tables are not required for these sectors.
| Type | Input | Size | Range | Output | Comment |
|---|---|---|---|---|---|
| Command | CMD_CRC | 32-bits | STATUS_ERR_EXEC STATUS_ARG_INVALID STATUS_CMD_VALID STATUS_CHALLENGE | Refer to Table 6-9 and Table 6-10 | |
| Authenticate | 128-bits | Challenge[] | LS Word first | ||
| Authenticate | Response[] | 256-bits | STATUS_ARG_AUTH STATUS_CMD_VALID | LS Word first | |
Argument1 | MEMMAP | 32-bits | 0x0 | Must be 0x0 | |
| Argument2 | Table Address | 32-bits | Flash Address | STATUS_ERR_CRCTABLE | Must be a 16-byte aligned address. Refer to Table 6-9 |
| Result | 32-bits | STATUS_CRC_FAIL STATUS_CRC_OK | Refer to Table 6-9 and Table 6-10 |
