jtag-svf

CLI reference

glasgow run jtag-svf

Play SVF test vectors via the JTAG interface.

This applet currently does not implement some SVF features:

  • PIOMAP and PIO are not supported;

  • The SCK clock in RUNTEST is not supported.

If any commands requiring these features are encountered, the applet terminates itself.

usage: glasgow run jtag-svf [-h] [-V SPEC] [--tck PIN] [--tms PIN] [--tdi PIN]
                            [--tdo PIN] [--trst PIN] [-f FREQ]
                            [--scan-ir-max-length LENGTH]
                            [--scan-dr-max-length LENGTH]
                            [--ir-lengths IR-LENGTH,...]
                            SVF-FILE
svf-file

test vector to play

-h, --help

show this help message and exit

-V <spec>, --voltage <spec>

configure I/O port voltage to SPEC (e.g.: ‘3.3’, ‘A=5.0,B=3.3’, ‘A=SA’)

--tck <pin>

bind the applet I/O line ‘tck’ to PIN (default: ‘A0’, optional)

--tms <pin>

bind the applet I/O line ‘tms’ to PIN (default: ‘A1’, optional)

--tdi <pin>

bind the applet I/O line ‘tdi’ to PIN (default: ‘A2’, optional)

--tdo <pin>

bind the applet I/O line ‘tdo’ to PIN (default: ‘A3’, optional)

--trst <pin>

bind the applet I/O line ‘trst’ to PIN (optional)

-f <freq>, --frequency <freq>

set TCK frequency to FREQ kHz (default: 100)

--scan-ir-max-length <length>

give up scanning IRs longer than LENGTH bits (default: 128)

--scan-dr-max-length <length>

give up scanning DRs longer than LENGTH bits (default: 1024)

--ir-lengths <ir-length,...>

set IR lengths of each TAP to corresponding IR-LENGTH (default: autodetect)