
MAXQ Family User’s Guide:
MAXQ2010 Supplement
17-6
17.5 Family 3 Commands: CRC Variable Length (Password Protected)
Command 30h—CRC Code Variable Length
This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-16
value (CrcH:CrcL) of the program flash - (Length) or (LengthH:LengthL) bytes/words starting at (AddrH:AddrL).
Command 31h—CRC Data Variable Length
This command has a slightly different format depending on the length of the CRC requested. It returns the CRC-16
value (CrcH:CrcL) of the data SRAM - (Length) or (LengthH:LengthL) bytes/words starting at (AddrH:AddrL).
17.6 Family 4 Commands: Verify Variable Length (Password Protected)
Command 40h—Verify Code Variable Length
This command operates in the same manner as the “Load Code Variable Length” command, except that instead of
programming the input data into flash memory, it verifies that the input data matches the data already in code space.
If the data does not match, the status code is set to reflect this failure.
Command 41h—Verify Data Variable Length
This command operates in the same manner as the “Load Data Variable Length” command, except that instead of
writing the input data into data SRAM, it verifies that the input data matches the data already in data space. If the data
does not match, the status code is set to reflect this failure.
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 BYTE 9
Input (to CRC
< 256 bytes)
30h 1 AddrL AddrH Length 00h 00h 00h 00h
Output
CrcH CrcL 03Eh
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 BYTE 9 BYTE 10
Input (to CRC
256+ bytes)
30h 2 AddrL AddrH LengthL LengthH 00h 00h 00h 00h
Output
CrcH CrcL 03Eh
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 BYTE 9
Input (to CRC
< 256 bytes)
31h 1 AddrL AddrH Length 00h 00h 00h 00h
Output
CrcH CrcL 03Eh
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4 BYTE 5 BYTE 6 BYTE 7 BYTE 8 BYTE 9 BYTE 10
Input (to CRC
256+ bytes)
31h 2 AddrL AddrH LengthL LengthH 00h 00h 00h 00h
Output
CrcH CrcL 03Eh
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4
(LENGTH)
BYTES
BYTE
LENGTH+5
BYTE
LENGTH+6
Input
40h Length AddressL AddressH Data to verify 00h 00h
Output
03Eh
I/O BYTE 1 BYTE 2 BYTE 3 BYTE 4
(LENGTH)
BYTES
BYTE
LENGTH+5
BYTE
LENGTH+6
Input
41h Length AddressL AddressH Data to verify 00h 00h
Output
03Eh
Comentarios a estos manuales