CMSIS-DAP  Version 1.00 - Beta
CMSIS-DAP Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
DAP_SWD_Transfer

Read/Write Single/Multiple Registers via SWD. More...

Read/Write Single/Multiple Registers via SWD.

Register access is a single 32-bit register Read or Write. Register address depends on the DPBANKSEL/APBANKSEL and A3..2. The command can execute several read/write operations on DP/AP registers. Response is in the same order as request, but might be shorter in case of errors.

Transfer is aborted on the following errors:

Command to request the SWD data transfer.

BYTE | BYTE **********| BYTE *************| WORD *********|
> 0x15 | Transfer Count | Transfer Request | Transfer Data |
******|****************|+++++++++++++++++++|+++++++++++++++|

Respons to the data transfer request.

BYTE | BYTE **********| BYTE *************| WORD *********|
< 0x15 | Transfer Count | Transfer Response | Transfer Data |
******|****************|*******************|+++++++++++++++|

Where