tcl/board: add SPDX tag
[fw/openocd] / tcl / board / minispartan6.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 # https://www.scarabhardware.com/minispartan6/
4
5 source [find interface/ftdi/minispartan6.cfg]
6 source [find cpld/xilinx-xc6s.cfg]
7 source [find cpld/jtagspi.cfg]
8
9 # example command to read the device dna of the FPGA on the board;
10 # openocd -f board/minispartan6.cfg -c "init;xc6s_print_dna xc6s.tap;shutdown"
11
12 # example command to write bitstream
13 # openocd -f board/minispartan6.cfg -c "init;\
14 # jtagspi_init 0 bscan_spi_xc6slx??.bit;\
15 # jtagspi_program bitstream.bin 0;\
16 # xc6s_program xc6s.tap;\
17 # shutdown"
18 #
19 # jtagspi flash procies can be found in the contrib/loaders/flash/fpga/
20 # directory, with prebuilt versions available at
21 # https://github.com/jordens/bscan_spi_bitstreams
22 #
23 # For the SLX25 variant, use
24 #  - https://github.com/jordens/bscan_spi_bitstreams/raw/master/bscan_spi_xc6slx25.bit
25 # For the SLX9 variant, use
26 #  - https://github.com/jordens/bscan_spi_bitstreams/raw/master/bscan_spi_xc6slx9.bit