You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
microwatt/openocd
Boris Shingarov ed5807381e Recognize version string "0.12" in recent OpenOCD master
Starting from 5e7612eb4, OpenOCD identifies itself as 0.12.
This causes Microwatt's flash-arty script to fail.  Because neither
the cfg nor the proxy bitstream are affected, we can keep treating
everything as indistinguishable from 0.11.  This patch simply tests
for "0.12" as an alias; it would probably be better to replace this
confusing terminology with something like "single-tap/multi-tap".

Signed-off-by: Boris Shingarov <shingarov@labware.com>
2 years ago
..
LFE5U-25F.cfg Initial support for ghdl synthesis 4 years ago
LFE5U-45F.cfg Initial support for ghdl synthesis 4 years ago
LFE5U-85F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM-25F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM-45F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM-85F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM5G-25F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM5G-45F.cfg Initial support for ghdl synthesis 4 years ago
LFE5UM5G-85F.cfg Initial support for ghdl synthesis 4 years ago
README Add files for openocd v0.11 3 years ago
antmicro-artix-dc-scm.cfg openocd: Add Artix DC-SCM cable type 2 years ago
arty.cfg flash-arty: Add cable argument 3 years ago
bscan_spi_xc7a35t.bit Add openocd SPI flashing proxies for Arty 4 years ago
bscan_spi_xc7a35t_openocd_v0.11.bit Add files for openocd v0.11 3 years ago
bscan_spi_xc7a100t.bit Add openocd SPI flashing proxies for Arty 4 years ago
bscan_spi_xc7a100t_openocd_v0.11.bit Add files for openocd v0.11 3 years ago
bscan_spi_xc7a200t.bit flash-arty: Support Nexys Video's a200 4 years ago
bscan_spi_xc7a200t_openocd_v0.11.bit Add files for openocd v0.11 3 years ago
ecp5-evn.cfg Initial support for ghdl synthesis 4 years ago
flash-arty Recognize version string "0.12" in recent OpenOCD master 2 years ago
jtagspi.cfg flash-arty: Re-add support for running from any path 4 years ago
olimex-arm-usb-tiny-h.cfg Initial support for ghdl synthesis 4 years ago
xilinx-xc7.cfg flash-arty: Add cable argument 3 years ago
xilinx-xc7_openocd_v0.11.cfg flash-arty: Add cable argument 3 years ago

README

The Xilinx SPI flashing proxies come from here:

https://github.com/quartiq/bscan_spi_bitstreams/blob/single-tap/bscan_spi_xc7a35t.bit?raw=true
https://github.com/quartiq/bscan_spi_bitstreams/blob/single-tap/bscan_spi_xc7a100t.bit?raw=true

These are the "old" single tap versions that are supported by the openocd
release packaged in distros (0.10). If you use the wrong versions you see this:

$ ./openocd/flash-arty microwatt_0.bit
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
none separate
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
adapter speed: 25000 kHz
fpga_program
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 25000 kHz
Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx), part: 0x362d, ver: 0x0)
loaded file openocd/bscan_spi_xc7a35t.bit to pld device 0 in 0s 152803us
Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx), part: 0x362d, ver: 0x0)
Error: Unknown flash device (ID 0x00ffffff)

If you find yourself with a later openocd version that contians 867bdb2e9248
("jtagspi: new protocol that includes transfer length"), such as v0.11 as
packaged by Debian Bullseye, you should use the bitstream from the master
branch:

https://github.com/quartiq/bscan_spi_bitstreams/blob/master/bscan_spi_xc7a35t.bit?raw=true
https://github.com/quartiq/bscan_spi_bitstreams/blob/master/bscan_spi_xc7a100t.bit?raw=true

These are in the microwatt repository as bscan_spi_xc7a*t_openocd_v0.11.bit.