arty_s7.cfg 1.1 KB

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