SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Verify the contents of one or more whole flash MAIN sectors, using CRC32, with option to exclude the last 4 bytes, or check that the sectors are blank (all bytes are 0xFF).
The command perform one of these checks:
The command result is SUCCESS if the performed check is successful. The command result is also SUCCESS if the number of bytes to check is 0.
These conditions must be true:
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x10 | Command ID |
15:8 | respSeqNumber | User defined | Optional response sequence number, included in the response header | |
30:16 | reserved0 | 0 | Reserved | |
31 | doBlankCheck | - | Check if the entire address range is blank (all bytes are 0xFF), instead of CRC check | |
1 | 31:0 | firstSectorAddr | - | Address of the first byte of the first sector |
2 | 31:0 | byteCount | - |
Number of bytes to calculate CRC32 over, one of the following:
|
3 | 31:0 | expCrc32 | - | Expected CRC32 |
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x10 | Command ID, copied from the first command parameter word |
15:8 | respSeqNumber | User defined | Optional sequence number, copied from the first command parameter word | |
23:16 | result | - |
Command result. One of the common results, or:
|
|
31:24 | dataWordCount | 0 | Size of additional response data, in number of 32-bit words |
These checks are performed before command execution, in the indicated order: