SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Verify the specified parts of the flash CCFG sector, using CRC32, or check that the entire sector is blank (all bytes are 0xFF).
CCFG is divided into four parts, each with an embedded CRC32 that covers the data:
The command performs one of these checks:
The command result is SUCCESS if all performed checks are successful.
These conditions must be true:
If CCFG is valid:
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x11 | Command ID |
15:8 | respSeqNumber | User defined | Optional response sequence number, included in the response header | |
16 | checkExpCrcs | - |
Check CCFG data also against the expected CRC32 fields the command:
|
|
17 | skipUserRec | - | Skip CRC check of the user record part of CCFG | |
30:18 | reserved0 | 0b000000 | Reserved | |
31 | doBlankCheck | - | Check if the entire CCFG sector is blank (all bytes are 0xFF), instead of CRC checks | |
1 | 31:0 | expBootCfgCrc32 | - |
Expected CRC32 of the boot configuration part:
|
2 | 31:0 | expCentralCrc32 | - |
Expected CRC32 of the central part:
|
3 | 31:0 | expUserRecCrc32 | - |
Expected CRC32 of the user record part:
|
4 | 31:0 | expDebugCfgCrc32 | - |
Expected CRC32 of the debug configuration part:
|
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x11 | 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: