minispartan6.cfg 958 B

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