SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
Request key ID for debug authentication
This command must be used to check whether debugging is allowed, and obtain the key ID for SACI_CMD_DEBUG_SUBMIT_CHALLENGE_RESP, 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 key ID based on the requested auth level. |
|
0x5A |
Debug authentication is not required |
Response contains no key ID. Debugging will be enabled after exiting SACI. |
|
0xC3 |
Only non-invasive debugging is allowed |
Response contains no key ID. Debugging will be enabled after exiting SACI. |
|
Any other value |
Debugging is not allowed |
Response result is NOT_ALLOWED |
The key ID is fetched from Scfg.debugAuthCfg.secureKey or Scfg.debugAuthCfg.nonSecureKey based on the requested auth level.
As described in the SACI_CMD_DEBUG_REQ_CHALLENGE and SACI_CMD_DEBUG_SUBMIT_CHALLENGE_RESP sections. Once the debug auth process has started it must be completed without interruption by non debug auth related commands. For this purpose, the SACI_CMD_DEBUG_REQ_KEY_ID is considered a debug auth related command meaning an ongoing debug auth process will not be halted by submitting this command. On the other hand, the debug auth process will also not begin by submitting this command meaning it can be submitted at any time without consequence on the state of a future or ongoing debug auth process.
CCFG must be valid.
Ccfg.debugCfg.authorization = 0xA5, 0x5A or 0xC3.
| Words | Bits | Field | Value | Description |
|---|---|---|---|---|
|
0 |
7:0 |
cmdId |
0x1D |
Command ID |
|
15:8 |
respSeqNumber |
User defined |
Optional response sequence number, included in the response header |
|
|
31:16 |
reserved0 |
0x0000 |
Reserved |
|
|
1 |
31:0 | authLevel | User defined |
The requested authentication level for specifying which key ID to return
|
| Words | Bits | Field | Value | Description |
|---|---|---|---|---|
| 0 |
7:0 |
cmdId |
0x1D |
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 | keyId |
Scfg.debugAuthCfg.secureKey.keyID or Scfg.debugAuthCfg.nonSecureKey.keyID |
The 64-bit debug key ID:
|
These checks are performed before command execution, in the indicated order:
If Ccfg is valid and Scfg is valid and Ccfg.debugCfg.authorization = 0xA5 but requested authLevel is invalid: Fail with result INVALID_DEBUG_AUTH_LVL_PARAM
If any restriction is violated: Fail with result NOT_ALLOWED