1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-13 23:23:55 +00:00

Merge pull request #406 from shingarov/spi-kintex

Add support for flashing the s25fl256s onboard Genesys2
This commit is contained in:
Michael Neuling
2022-09-26 16:49:11 +10:00
committed by GitHub
3 changed files with 9 additions and 1 deletions

Binary file not shown.

View File

@@ -46,8 +46,10 @@ elif args.fpga.lower() == "a100":
proxy = "bscan_spi_xc7a100t{}.bit".format(version)
elif args.fpga.lower() == "a200":
proxy = "bscan_spi_xc7a200t{}.bit".format(version)
elif args.fpga.lower() == "k325":
proxy = "bscan_spi_xc7k325t{}.bit".format(version)
else:
print("error: specify a35, a100 or a200 when flashing")
print("error: specify a35, a100, a200 or k325 when flashing")
sys.exit()
proxy = os.path.join(BASE, proxy)

6
openocd/genesys2.cfg Normal file
View File

@@ -0,0 +1,6 @@
interface ftdi
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 1
ftdi_layout_init 0x00e8 0x60eb
reset_config none
adapter_khz 25000