jtag/drivers/jlink: Use correct command errors
[openocd.git] / tcl / board / arty_s7.cfg
blobeaa15ab40753c9a0ceaac85e1299e1ce0c378153
1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Arty S7: Spartan7 25/50 FPGA Board for Makers and Hobbyists
6 # https://www.xilinx.com/products/boards-and-kits/1-pnziih.html
7 # https://store.digilentinc.com/arty-s7-spartan-7-fpga-board-for-makers-and-hobbyists/
9 source [find interface/ftdi/digilent-hs1.cfg]
11 # Xilinx Spartan7-25/50 FPGA (XC7S{25,50}-CSGA324)
12 source [find cpld/xilinx-xc7.cfg]
13 source [find cpld/jtagspi.cfg]
15 adapter speed 25000
17 # Usage:
19 # Load Bitstream into FPGA:
20 #    openocd -f board/arty_s7.cfg -c "init;\
21 #    pld load 0 bitstream.bit;\
22 #    shutdown"
24 # Write Bitstream to Flash:
25 #    openocd -f board/arty_s7.cfg -c "init;\
26 #    jtagspi_init 0 bscan_spi_xc7s??.bit;\
27 #    jtagspi_program bitstream.bin 0;\
28 #    xc7_program xc7.tap;\
29 #    shutdown"
31 # jtagspi flash proxies can be found at:
32 # https://github.com/quartiq/bscan_spi_bitstreams
34 # For the Spartan 50 variant, use
35 #  - https://github.com/quartiq/bscan_spi_bitstreams/raw/master/bscan_spi_xc7s50.bit
36 # For the Spartan 25 variant, use
37 #  - https://github.com/quartiq/bscan_spi_bitstreams/raw/master/bscan_spi_xc7s25.bit