Reference Owner manual

MAXQ20-Based Microcontroller Bootloader Command Reference
10
Family 4 CommandsVerify Variable Length
Command 40hVerify Code Variable Length
Byte1 Byte2 Byte3 Byte4
(Length)
Bytes
Byte
Length+5
Byte
Length+6
Input
40h
Length
AddrL
AddrH
Data to verify
00h
00h
Output
03Eh
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.
The Get Status command must be executed after any verify command to determine if the verify was successful.
Command 41hVerify Data Variable Length
Byte1 Byte2 Byte3 Byte4
(Length)
Bytes
Byte
Length+5
Byte
Length+6
Input
41h
Length
AddrL
AddrH
Data to verify
00h
00h
Output
03Eh
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.
The Get Status command must be executed after any verify command to determine if the verify was successful.