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