CMSIS-DAP  Version 2.1.2
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
Atomic 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.

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.