Code: |
AS + 710 |
Symbolic: |
bccDebugStart |
This command will request remote device to open a debug session: inside this session, debug command (breakpoint, process, trace, etc.) can be used. The request has following parameters:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
TIMEWD |
Initial watchdog time [ms] |
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
DSID |
Debug session unique ID |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackOutOfResource |
No more debug session available (in case of multiple debug session available) |
|
nackResourceBusy |
Debug session already in use (in case of single debug session available) |
|
Notes:
•In order to keep debug session alive, you have to send periodically the bccDebugWd with the desired watchdog time.