CMSIS-DAP is a protocol specification and an open-source firmware implementation that provides standardized access to the CoreSight Debug Access Port (DAP) available on many Arm Cortex processors as part of the CoreSight Debug and Trace functionality.
CMSIS-DAP supports target devices that contain one or more Cortex processors.
A processor device exposes Debug Access Port (DAP) typically either with a 5-pin JTAG or with a 2-pin Serial Wired Debug (SWD) interface that is used as a physical communication with a debug unit.
CMSIS-DAP provides the interface firmware for a debug unit that implements the communication between the debug port of the device and USB port. With it, a software debug tool that runs on a host computer can connect via USB and the debug unit to the device where the application firwmare gets executed.