CMSIS-DAP  Version 2.1.2
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages

Control and monitor SWD/JTAG Pins. More...

Control and monitor SWD/JTAG Pins.

The DAP_SWJ_Pins Command is used to monitor and control the I/O Pins including the nRESET Device reset line.

The Pin Wait time is useful in systems where the nRESET pin is implemented as open-drain output. After nRESET is de-asserted by the debugger, external circuit may still hold the target Device under reset for a time. Using the Pin Wait time, the debugger may monitor selected I/O Pins and wait until they the expected value appears or a timeout expires.

I/O Pin Mapping for the fields Pin Output, Pin Select, and Pin Input:

DAP_SWJ_Pins Command:

| BYTE | BYTE ******| BYTE ******| Word ****|
> 0x10 | Pin Output | Pin Select | Pin Wait |
|******|************|************|**********|

DAP_SWJ_Pins Response:

| BYTE | BYTE *****|
< 0x10 | Pin Input |
|******|***********|