1.17.7 Self Verify Command
Self Verify Program Memory Command
This command will cause the device to verify the contents of its flash by computing the Checksum/CRC32/SHA256 of the application program and compare the computed value to the expected value located in the application program header. If the compared contents match, a Success value is returned. If they do not match, an Invalid Compare value is returned.
Field Size |
Description |
Data Type |
Comments | |
---|---|---|---|---|
1 |
Cmd |
uint8_t |
Command (0x0A) - Self Verify Program Memory | |
2 |
Length |
uint16_t |
0 | |
4 |
Unlock Seqeunce |
uint32_t |
0 | |
4 |
Address |
uint32_t |
0 |
Self Verify Command Response Format
Field Size |
Description |
Data Type |
Comments | |
---|---|---|---|---|
1 |
Cmd |
uint8_t |
Command (0x0A) - Self Verify Program Memory | |
2 |
Length |
uint16_t |
0. | |
4 |
Unlock Seqeunce |
uint32_t |
0 | |
4 |
Address |
uint32_t |
0 | |
1 |
Status |
uint8_t |
Status of Command
|
Self Verify Example Command
Example command to the device
Field Size |
Description |
Data Type |
Value | |
---|---|---|---|---|
1 |
Cmd |
uint8_t |
0x0A | |
2 |
Length |
uint16_t |
0x0000 | |
4 |
Unlock Seqeunce |
uint32_t |
0x00000000 | |
4 |
Address |
uint32_t |
0x00000000 |
Example as viewed on bus: 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Example Response Sequence
Example reponse from the device
Field Size |
Description |
Data Type |
Value | |
---|---|---|---|---|
1 |
Cmd |
uint8_t |
0x0A | |
2 |
Length |
uint16_t |
0x0000 | |
4 |
Unlock Seqeunce |
uint32_t |
0x00000000 | |
4 |
Address |
uint32_t |
0x00000000 | |
1 |
Status |
uint32_t |
0x01 |
Example as viewed on bus: 0x0A, 0x00, 0x00, 0x00 0x00, 0x00 0x00, 0x00 0x00 0x00, 0x00, 0x01