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.

Table 6-14. Suggested Application Region CRC Tables
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.

Table 6-15. CMD_CRC Definition
TypeInputSizeRangeOutputComment
CommandCMD_CRC32-bits

STATUS_ERR_EXEC

STATUS_ARG_INVALID

STATUS_CMD_VALID

STATUS_CHALLENGE

Refer to Table 6-9 and Table 6-10
Authenticate128-bitsChallenge[]LS Word first
AuthenticateResponse[]256-bits

STATUS_ARG_AUTH

STATUS_CMD_VALID

LS Word first

Argument1

MEMMAP32-bits0x0Must be 0x0
Argument2Table Address32-bits

Flash

Address

STATUS_ERR_CRCTABLE

Must be a 16-byte aligned address.

Refer to Table 6-9

Result32-bits

STATUS_CRC_FAIL

STATUS_CRC_OK

Refer to Table 6-9 and Table 6-10
Figure 6-7. CMD_CRC Message Sequence