tcl/board: Add Arty-S7 Spartan 7 FPGA Development Board
[openocd.git] / tcl / board / arty_s7.cfg
1 #
2 # Arty S7: Spartan7 25/50 FPGA Board for Makers and Hobbyists
3 #
4 # https://www.xilinx.com/products/boards-and-kits/1-pnziih.html
5 # https://store.digilentinc.com/arty-s7-spartan-7-fpga-board-for-makers-and-hobbyists/
6
7 source [find interface/ftdi/digilent-hs1.cfg]
8
9 # Xilinx Spartan7-25/50 FPGA (XC7S{25,50}-CSGA324)
10 source [find cpld/xilinx-xc7.cfg]
11 source [find cpld/jtagspi.cfg]
12
13 adapter_khz 25000
14
15 # Usage:
16 #
17 # Load Bitstream into FPGA:
18 #    openocd -f board/arty_s7.cfg -c "init;\
19 #    pld load 0 bitstream.bit;\
20 #    shutdown"
21 #
22 # Write Bitstream to Flash:
23 #    openocd -f board/arty_s7.cfg -c "init;\
24 #    jtagspi_init 0 bscan_spi_xc7s??.bit;\
25 #    jtagspi_program bitstream.bin 0;\
26 #    xc7s_program xc7s.tap;\
27 #    shutdown"
28 #
29 # jtagspi flash proxies can be found at:
30 # https://github.com/quartiq/bscan_spi_bitstreams
31 #
32 # For the Spartan 50 variant, use
33 #  - https://github.com/quartiq/bscan_spi_bitstreams/raw/master/bscan_spi_xc7s50.bit
34 # For the Spartan 25 variant, use
35 #  - https://github.com/quartiq/bscan_spi_bitstreams/raw/master/bscan_spi_xc7s25.bit