Add support for flashing the s25fl256s onboard Genesys2
authorBoris Shingarov <shingarov@labware.com>
Fri, 23 Sep 2022 20:10:04 +0000 (16:10 -0400)
committerBoris Shingarov <shingarov@labware.com>
Fri, 23 Sep 2022 20:10:04 +0000 (16:10 -0400)
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>
openocd/bscan_spi_xc7k325t_openocd_v0.11.bit [new file with mode: 0644]
openocd/flash-arty
openocd/genesys2.cfg [new file with mode: 0644]

diff --git a/openocd/bscan_spi_xc7k325t_openocd_v0.11.bit b/openocd/bscan_spi_xc7k325t_openocd_v0.11.bit
new file mode 100644 (file)
index 0000000..fe36b17
Binary files /dev/null and b/openocd/bscan_spi_xc7k325t_openocd_v0.11.bit differ
index 6d4d13d8edb62ccb3b6d467eb49aec747d5318b0..9d27c8a86f7f54666db39e641b8072b6885dcd21 100755 (executable)
@@ -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)
diff --git a/openocd/genesys2.cfg b/openocd/genesys2.cfg
new file mode 100644 (file)
index 0000000..fc6a29f
--- /dev/null
@@ -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