SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Request password ID for debug authentication.
This command must be used to check whether debugging is allowed, and obtain the password ID for SACI_CMD_DEBUG_SUBMIT_AUTH, if required. As indicated, there are three possible states:
Ccfg.debugCfg.authorization | Description | Indicated by |
---|---|---|
0xA5 | Debug authentication is required | Response contains a 64-bit debug password ID |
0x5A | Debug authentication is not required | Response contains no password ID. Debugging is enabled after exiting SACI. |
Any other value | Debugging is not allowed | Response result is NOT_ALLOWED |
The password ID is fetched from Ccfg.debugCfg.pwdId.
CCFG must be valid (Ccfg.bootCfg.crc32 is valid)..
Ccfg.debugCfg.authorization = 0xA5 or 0x5A.
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x05 | Command ID |
15:8 | respSeqNumber | User defined | Optional response sequence number, included in the response header | |
31:16 | reserved0 | 0x0000 | Reserved |
Words | Bits | Field | Value | Description |
---|---|---|---|---|
0 | 7:0 | cmdId | 0x05 | 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 or 2 |
Size of additional response data, in number of 32-bit words:
|
|
2:1 | 31:0 | pwdId | Ccfg.debugCfg.pwdId | The 64-bit debug password ID:
|
These checks are performed before command execution, in the indicated order: