CMSIS-DAP: Atomic Commands

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Content
Atomic Commands
CMSIS-DAP Commands

Execute atomic commands. More...

## Content

| DAP_ExecuteCommands
| Execute multiple DAP commands from a single packet.
| DAP_QueueCommands
| Queue multiple DAP commands provided in a multiple packets.

## Description

Execute atomic commands.

CMSIS-DAP command set is extended with two top level commands that allow the execution of multiple DAP commands further USB communication. Executing multiple CMSIS-DAP commands is typically a requirement at the reset time of some devices. The sequence after reset can be time critical and any USB communication would violate the available time window.

- DAP_ExecuteCommands : execute multiple DAP commands from a single command request
- DAP_QueueCommands : queue of multiple DAP commands before execution

These two DAP commands are used to collect several other DAP commands before execution. Packet Size and Packet Count limitation (as reported via DAP_Info) must be respected by the debugger.

Note
  The Atomic Commands are only available when DAP_Info with ID=0xF0 (Capabilities) returns in Info - Bit 4: 1 = Atomic Commands.