Skip to the content
4 layers33.5 × 15 mmUSB JTAG, the printed circuit board in 3D

A USB to JTAG and SWD adapter for use with OpenOCD

Size
33.5 × 15 mm
Copper layers
4
Thickness
1.6 mm
Parts
29
Nets
45
Pads
172
Tracks, vias
216, 42
Pours
6
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
16 Oct 2018
Updated
24 Oct 2024

Overview

USB JTAG 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 4-layer board of 33.5 × 15 mm with 29 parts on 45 nets, routed with 216 tracks and 42 vias.

Its parts include 9 capacitors, 9 resistors, 7 ICs and 2 connectors. It belongs with the interfaces and adapters boards of this library.

README

README.md

JTAG_SWD

photo of PCB

JTAG

Hirose DF3A-6P-2DS header

Adapter Cables

Hirose DF3-6EP-2C 6 pin inline header

TC2030-MCP TC2030-MCP-NL

Pinout

PinJTAGSerial WireAVR
1VCCVCCVCC
2TCKSWCLKSCK
3GNDGNDGND
4TDOSWDIOMISO
5NCjumper to 6NC
6NCjumper to 5NC
7TDISWDIOMOSI
8TMSNCRST

OpenOCD config for ECP5-12

text
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
shutdown

OpenOCD config for XC7A15T

text
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
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
shutdown

OpenOCD for SWD STM32F4

swd.cfg

text
source [find openocd.cfg]
flash info 0
flash write_image erase digital.elf
reset run
exit

openocd.cfg

text
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 100

AVRDude

text
avrdude -c c232hm -P USB -p m32u4 -v -b 500000

Higher baud rates failed.

Parts

29
QtyValueFootprintReferences
41 uFkicad_pcb:C_0402_1005MetricC1, C2, C3, C5
4100 nFkicad_pcb:C_0402_1005MetricC6, C7, C9, C10
46MMF7kicad_pcb:SOT-363_SC-70-6U4, U5, U6, U8
312 kkicad_pcb:R_0402_1005MetricR2, R3, R4
2499kicad_pcb:R_0402_1005MetricR8, R9
25.1 kkicad_pcb:R_0402_1005MetricR6, R7
2tooling_holekicad_pcb:tooling_hole_2.55TH1, TH2
11 kkicad_pcb:R_0402_1005MetricR1
110 uFkicad_pcb:C_0805_2012MetricC4
126HRBkicad_pcb:QFN-48-1EP_8x8mm_P0.5mm_EP6.2x6.2mmU3
133kicad_pcb:R_0402_1005MetricR5
1CGH8Bkicad_pcb:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1Conn_01x08_MaleConnector_Hirose:Hirose_DF13-08P-1.25DSA_1x08_P1.25mm_VerticalJ2
1JPPQ9kicad_pcb:Oscillator_SMD_4Pin_2.5x2.0mmU2
1Q6CVQkicad_pcb:SOT-23-6U1

More from HarmonInstruments/JTAG_SWD

1
  • 6 layers30.5 × 18 mmUSB SWD, the printed circuit board in 3D

    USB SWD

    HarmonInstruments/JTAG_SWD

    A USB to JTAG and SWD adapter for use with OpenOCD

    46 parts5GPL-3.0

Similar boards

  • 4 layers28.4 × 47.9 mmEasyduino ESP32, the printed circuit board in 3D

    Easyduino ESP32

    Hanqaqa/Easyduino

    Easily dive into different PCB KiCad designs of the most popular microcontroller devboards

    29 parts755CERN-OHL-P-2.0
  • 4 layers63.5 × 21 mmNard sam, the printed circuit board in 3D

    Nard sam

    killergeek/nard

    nard a dual sim/sam card interface for the flipper zero

    29 parts108MIT
  • 4 layers36.8 × 38.1 mmCm4 ipad display adapter, the printed circuit board in 3D

    Cm4 ipad display adapter

    EvanKrall/pipad

    A PCB for putting a Raspberry Pi CM4 inside a 1st-generation iPad.

    29 parts60
  • 4 layers97 × 97 mmPCBA ZONA TOUCH, the printed circuit board in 3D

    PCBA ZONA TOUCH

    intechstudio/grid-hardware

    29 parts59GPL-3.0
  • 4 layers26.8 × 14.8 mmRpi nrf52811, the printed circuit board in 3D

    Rpi nrf52811

    alvarop/chaac

    This is a work in progress for a wireless weather station project.

    29 parts21MIT
  • 4 layers100 × 25 mmRf switch dpdt, the printed circuit board in 3D

    Rf switch dpdt

    greatscottgadgets/misc

    miscellaneous Great Scott Gadgets projects

    29 parts21GPL-2.0
  • 4 layers45 × 35.2 mmDominoDisk SMD Angled, the printed circuit board in 3D

    DominoDisk SMD Angled

    colinleroy/BurgerDisk

    A daisy-chainable Smartport hard drive for the Apple II

    29 parts20
  • 4 layers29 × 16.7 mmRam pak, the printed circuit board in 3D

    Ram pak

    esden/glasgow-addons

    Various interface addon boards and expansions for the Glasgow Digital Interface Explorer

    29 parts19

Questions

How big is the USB JTAG PCB?

It measures 33.5 × 15 mm and has 4 copper layers, 1.6 mm thick.

What parts does the USB JTAG use?

29 parts. 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.

Where can I download the USB JTAG KiCad files?

From the HarmonInstruments/JTAG_SWD repository on GitHub, at the commit this page was made from: the board is pcb/USB_JTAG.kicad_pcb and its schematic swd/USB_SWD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB JTAG design in my own project?

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).