Family c commands—verify fixed length – Maxim Integrated MAXQ20-Based Microcontroller Bootloader Command Reference User Manual
Page 14

MAXQ20-Based Microcontroller Bootloader Command Reference
14
Family C Commands—Verify Fixed Length
Command C0h—Verify Code Fixed Length
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6-21
Byte22
Byte23
Byte24
Input
C0h
CodeLen
AddrL
AddrH
Data1
xx
Data16
00h
00h
Output
3Eh
This command operates in the same manner as the “Load Code Fixed 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. CodeLen is one of the values
returned by the Get Supported Commands command.
The Get Status command must be executed after any verify command to determine if the verify was successful.
Command C1h—Verify Data Fixed Length
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
Byte9
Byte10
Input
C1h
DataLen
AddrL
AddrH
Data1
Data2
Data3
Data4
00h
00h
Output
3Eh
This command operates in the same manner as the “Load Data Fixed Length” command, except that instead of
programming the input data into flash memory, 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. DataLen is one of the values
returned by the Get Supported Commands command.
The Get Status command must be executed after any verify command to determine if the verify was successful.