1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-03-10 04:24:30 +00:00

Add support for flashing the s25fl256s onboard Genesys2

This includes the cable configuration, additions to the Python script,
and the jtagspi proxy bitstream. The single-tap version is not included
because 0.10 supported only 3-byte addresses which is unusable on the
s25fl256s anyway.

Signed-off-by: Boris Shingarov <shingarov@labware.com>
This commit is contained in:
Boris Shingarov
2022-09-23 16:10:04 -04:00
parent d3fb2639dd
commit 6c3f7d75d5
3 changed files with 9 additions and 1 deletions

Binary file not shown.

View File

@@ -44,8 +44,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