
USB JTAG
HarmonInstruments/JTAG_SWD
A USB to JTAG and SWD adapter for use with OpenOCD

A USB to JTAG and SWD adapter for use with OpenOCD
USB SWD is an open-source printed circuit board by HarmonInstruments, from the HarmonInstruments/JTAG_SWD repository on GitHub, published under the GPL-3.0 licence. It is a 6-layer board of 30.5 × 18 mm with 46 parts on 66 nets, routed with 174 tracks and 65 vias.
It is built around the RP2040, 2N7001TDCK and TPS71733DCKR-TP, with the SM04B-SRSS-TB and X322512MSB4SI among its other parts. Its parts include 16 resistors, 11 capacitors, 7 ICs, 4 diodes and 3 connectors. It belongs with the interfaces and adapters boards and the RP2040 boards of this library.

Hirose DF3A-6P-2DS header
Hirose DF3-6EP-2C 6 pin inline header
TC2030-MCP TC2030-MCP-NL
| Pin | JTAG | Serial Wire | AVR |
|---|---|---|---|
| 1 | VCC | VCC | VCC |
| 2 | TCK | SWCLK | SCK |
| 3 | GND | GND | GND |
| 4 | TDO | SWDIO | MISO |
| 5 | NC | jumper to 6 | NC |
| 6 | NC | jumper to 5 | NC |
| 7 | TDI | SWDIO | MOSI |
| 8 | TMS | NC | RST |
interface ftdi
ftdi_channel 0
ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x0058 0x00fb
ftdi_layout_signal nTRST -data 0x0010
ftdi_layout_signal nSRST -oe 0x0020
adapter_khz 10000
telnet_port 4444
gdb_port 3333
transport select jtag
reset_config none
jtag newtap lfe5 tap -expected-id 0x21111043 -irlen 8 -irmask 0xFF -ircapture 0x5
init
scan_chain
svf -tap lfe5.tap -quiet -progress build/display_fpga.svf
shutdowninterface ftdi
ftdi_channel 0
ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x0058 0x00fb
ftdi_layout_signal nTRST -data 0x0010
ftdi_layout_signal nSRST -oe 0x0020
telnet_port 4444
gdb_port 3333
transport select jtag
reset_config none
jtag newtap artix7 tap -irlen 6 -ignore-version -expected-id 0x0362E093
pld device virtex2 artix7.tap
adapter_khz 10000
adapter_nsrst_delay 200
init
pld load 0 top.bit
virtex2 read_stat 0
shutdownswd.cfg
source [find openocd.cfg]
flash info 0
flash write_image erase digital.elf
reset run
exitopenocd.cfg
interface ftdi
transport select swd
ftdi_channel 0
ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x0058 0x00fb
ftdi_layout_signal SWD_EN -data 0x0200
adapter_khz 1000
telnet_port 4444
gdb_port 3333
reset_config none
source [find target/stm32f4x.cfg]
init
reset halt
sleep 100avrdude -c c232hm -P USB -p m32u4 -v -b 500000Higher baud rates failed.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 1 uF | kicad_pcb:C_0402_1005Metric | C1, C2, C3, C5, C7, C9, C10, C11 |
| 7 | 5.1 k | kicad_pcb:R_0402_1005Metric | R1, R2, R4, R13, R14, R15, R16 |
| 5 | 27 | kicad_pcb:R_0402_1005Metric | R5, R6, R7, R8, R10 |
| 4 | QF838 | kicad_pcb:LED_0603_1608Metric | D1, D2, D3, D4 |
| 3 | 100 k | kicad_pcb:R_0402_1005Metric | R9, R11, R12 |
| 3 | 2N7001TDCK | kicad_pcb:SOT-353_SC-70-5 | U4, U7, U11 |
| 2 | 27 pF | kicad_pcb:C_0402_1005Metric | C6, C8 |
| 2 | SM04B-SRSS-TB | Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | J2, J3 |
| 2 | TestPoint | TestPoint:TestPoint_THTPad_1.5x1.5mm_Drill0.7mm | TP1, TP2 |
| 2 | tooling_hole | kicad_pcb:tooling_hole_2.55 | TH1, TH2 |
| 1 | 1 k | kicad_pcb:R_0402_1005Metric | R3 |
| 1 | 4.7 uF | kicad_pcb:C_0603_1608Metric | C4 |
| 1 | 6MMF7 | kicad_pcb:SOT-363_SC-70-6 | U6 |
| 1 | CGH8B | kicad_pcb:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | RP2040 | kicad_pcb:QFN-56-RP2040 | U3 |
| 1 | TPS71733DCKR | kicad_pcb:SOT-353_SC-70-5 | U2 |
| 1 | W25Q16RVXHJQ | kicad_pcb:XSON-8-1EP_3x2mm_P0.5mm_EP0.2x1.6mm | U1 |
| 1 | X322512MSB4SI | Oscillator:Oscillator_SMD_SeikoEpson_SG8002CE-4Pin_3.2x2.5mm | Y1 |

HarmonInstruments/JTAG_SWD
A USB to JTAG and SWD adapter for use with OpenOCD




embeddedos-org/eCAD-Hardware-Products
Hardware designs + EE docs + Board datasheets of Multiple products


picolume/hardware
Hardware designs for the PicoLume wireless LED prop system. All designs are created in KiCad.

gab-k/RP2040-Decoder
Cost effective DIY DCC Decoder for model railroad locomotives

KaiPereira/Overglade-Badges
NFC hackathon badges for the Overglade game jam in Singapore!
It measures 30.5 × 18 mm and has 6 copper layers, 1.6 mm thick.
46 parts, built around the RP2040, 2N7001TDCK, TPS71733DCKR-TP and SM04B-SRSS-TB. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the HarmonInstruments/JTAG_SWD repository on GitHub, at the commit this page was made from: the board is swd/USB_SWD.kicad_pcb and its schematic swd/USB_SWD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).