

The Adafruit JTAG 2x10 to SWD 2x5 adapter (Part ID: 2094) is a compact and reliable connector adapter designed to convert a 2x10 JTAG interface to a 2x5 SWD (Serial Wire Debug) interface. This adapter is ideal for programming and debugging microcontrollers that utilize the SWD protocol. It simplifies the connection process by providing a seamless bridge between JTAG and SWD interfaces, making it an essential tool for embedded systems developers.








The Adafruit JTAG 2x10 to SWD 2x5 adapter is designed to meet the needs of developers working with modern microcontrollers. Below are the key technical details:
| Pin Number | Signal Name | Description |
|---|---|---|
| 1 | VREF | Target reference voltage |
| 2 | GND | Ground |
| 3 | nTRST | Test reset (optional) |
| 4 | GND | Ground |
| 5 | TDI | Test Data In |
| 6 | GND | Ground |
| 7 | TMS | Test Mode Select |
| 8 | GND | Ground |
| 9 | TCK | Test Clock |
| 10 | GND | Ground |
| 11 | RTCK | Return Test Clock (optional) |
| 12 | GND | Ground |
| 13 | TDO | Test Data Out |
| 14 | GND | Ground |
| 15 | RESET | Target reset |
| 16 | GND | Ground |
| 17 | DBGRQ | Debug Request (optional) |
| 18 | GND | Ground |
| 19 | DBGACK | Debug Acknowledge (optional) |
| 20 | GND | Ground |
| Pin Number | Signal Name | Description |
|---|---|---|
| 1 | VREF | Target reference voltage |
| 2 | SWDIO | Serial Wire Debug I/O |
| 3 | GND | Ground |
| 4 | SWCLK | Serial Wire Clock |
| 5 | GND | Ground |
| 6 | NC | Not Connected |
| 7 | NC | Not Connected |
| 8 | NC | Not Connected |
| 9 | RESET | Target reset |
| 10 | GND | Ground |
If your target microcontroller supports SWD and you are using an Arduino-compatible board, you can use the adapter to debug or program the board. Below is an example of using OpenOCD with an SWD-compatible debugger:
openocd -f interface/stlink.cfg -f target/stm32f1x.cfg
No Connection to Target Board:
Debugger Not Recognized:
Target MCU Not Responding:
Intermittent Debugging Issues:
Q: Can this adapter be used with all JTAG and SWD devices?
A: The adapter is designed for standard 2x10 JTAG and 2x5 SWD pinouts. Ensure that your devices follow these standards before use.
Q: Does the adapter provide power to the target board?
A: No, the adapter does not supply power. The target board must be powered separately.
Q: Can I use this adapter with non-ARM microcontrollers?
A: The adapter is primarily designed for ARM Cortex-M microcontrollers using the SWD protocol. Compatibility with non-ARM devices depends on their support for SWD.
Q: Is this adapter compatible with 1.8V systems?
A: Yes, as long as the VREF pin is correctly connected to the target board's reference voltage.
By following this documentation, you can effectively use the Adafruit JTAG 2x10 to SWD 2x5 adapter for your debugging and programming needs.