CMSIS-DAP: DAP_HostStatus

| CMSIS-DAP Version 1.1.0 Interface Firmware for CoreSight Debug Access Port

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_HostStatus
General Commands

Sent status information of the debugger to Debug Unit. More...

Sent status information of the debugger to Debug Unit.

The DAP_HostStatus Command is used to sent the status information about the debugger to the Debug Unit. This status information may be displayed on the Debug Unit. Therefore a Debug Unit may provide optional Status LEDs:

- Connect LED: is active when the DAP hardware is connected to a debugger.
- Running LED: is active when the debugger has put the target device into running state.

DAP_HostStatus Command:

BYTE | BYTE **| BYTE **|
> 0x01 | Type | Status |
******|********|********|

- Type: specifies the type of the information that is sent in Status:
  - 0 = Connect: Status indicates that the debugger is connected to the Debug Unit.
  - 1 = Running: Status indicates that the target hardware is executing application code.
- Status: contains the actual status information:
  - 0 = False: may be used to turn off a status LED (Connect or Running) on the Debug Unit.
  - 1 = True: may be used to turn on a status LED (Connect or Running) on the Debug Unit.

DAP_HostStatus Response:

BYTE | BYTE **|
< 0x01 | 0x00 |
******|********|