program-xpla3¶
CLI reference¶
glasgow run program-xpla3¶
Program, verify, and read out Xilinx XPLA3 series CPLD bitstreams via the JTAG interface.
Supported devices are:
xcr3032xl
xcr3064xl
xcr3128xl
xcr3256xl
xcr3384xl
xcr3512xl
Warning: programming SRAM directly will not set the initial register values correctly. Use this option at your own risk.
usage: glasgow run program-xpla3 [-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,...]
[--tap-index INDEX]
OPERATION ...
- -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)
- --tap-index <index>¶
select TAP #INDEX for communication (default: select only TAP)
glasgow run program-xpla3 erase¶
usage: glasgow run program-xpla3 erase [-h]
- -h, --help¶
show this help message and exit
glasgow run program-xpla3 program¶
usage: glasgow run program-xpla3 program [-h] [--otf] [--erase] [--verify]
[--read-protect] [--ues [UES]]
[--ues-hex [UES_HEX]]
JED-FILE
- jed-file¶
JED file to read
- -h, --help¶
show this help message and exit
- --otf¶
use on-the-fly programming (keep device running)
- --erase¶
erase before programming, if necessary
- --verify¶
verify after programming
- --read-protect¶
enable read protection
- --ues <ues>¶
user electronic signature (ASCII)
- --ues-hex <ues_hex>¶
user electronic signature (hex)
glasgow run program-xpla3 program-sram¶
usage: glasgow run program-xpla3 program-sram [-h] [--verify] JED-FILE
- jed-file¶
JED file to read
- -h, --help¶
show this help message and exit
- --verify¶
verify after programming
glasgow run program-xpla3 read¶
usage: glasgow run program-xpla3 read [-h] [--otf] JED-FILE
- jed-file¶
JED file to write
- -h, --help¶
show this help message and exit
- --otf¶
use on-the-fly programming (keep device running)
glasgow run program-xpla3 read-sram¶
usage: glasgow run program-xpla3 read-sram [-h] [--otf] JED-FILE
- jed-file¶
JED file to write
- -h, --help¶
show this help message and exit
- --otf¶
use on-the-fly programming (keep device running)
glasgow run program-xpla3 verify¶
usage: glasgow run program-xpla3 verify [-h] [--otf] JED-FILE
- jed-file¶
JED file to read
- -h, --help¶
show this help message and exit
- --otf¶
use on-the-fly programming (keep device running)