CMSIS-DAP: DAP_TI_Capture

| CMSIS-DAP Version 1.2.0 (Proposal) Interface Firmware for CoreSight Debug Access Port

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_TI_Capture
Test Input Commands

Control continuous data recording of Test Input channels. More...

Control continuous data recording of Test Input channels.

The DAP_TI_Capture Command controls the data recording of the various Test Input channels.

DAP_TI_Capture Request:

| BYTE | SHORT ******| SHORT ******| BYTE **| BYTE *****|
> 0x1F | ChannelMask | ChannelDiff | Action | CapSelect |
|******|*************|*************|********|***********|

- ChannelMask: Bit mask that encodes the channels that should be recorded.
- ChannelDiff: Bit mask that enables the channel to communicate data differences.
  - 0x1 = Debug Unit may decide to send data differences.
  - 0x0 = Debug Unit will always send data values.
- Action: start or stop recording.
  - 0x1 = start recording.
  - 0x0 = stop recording.
- CapSelect: select recording frequency for the data capturing (frequency is obtained via DAP_TI_Info ID=0x02)

DAP_TI_Capture Response:

| BYTE | SHORT ******|
< 0x1F | ChannelMask |
|******|*************|

- ChannelMask: Bit mask of channels that are currently recorded. Depending on the capabilities of the Debug Unit, this might be less than the request channels.