aboutsummaryrefslogtreecommitdiff
path: root/tcl/interface
diff options
context:
space:
mode:
authorTim 'mithro' Ansell <mithro@mithis.com>2015-11-16 19:17:53 +1030
committerSpencer Oliver <spen@spen-soft.co.uk>2016-02-03 22:11:33 +0000
commitdb56a3b8701d6e83df5ad89632e79d5f387ae82a (patch)
tree4a47dada60db1f93a0ceb2097dd3ca47245ba9e0 /tcl/interface
parent822e6f43e49beec20b9b61a655f8cb0daab346ae (diff)
downloadriscv-openocd-db56a3b8701d6e83df5ad89632e79d5f387ae82a.zip
riscv-openocd-db56a3b8701d6e83df5ad89632e79d5f387ae82a.tar.gz
riscv-openocd-db56a3b8701d6e83df5ad89632e79d5f387ae82a.tar.bz2
tcl: Support for the miniSpartan6+ board.
* https://www.scarabhardware.com/minispartan6/ * https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdf The miniSpartan6+ board is wired identically to the Pipistrello device but sadly doesn't have a custom device description. Change-Id: I07fd57b1ec87d72edf68860684928a3781e2f08a Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com> Reviewed-on: http://openocd.zylin.com/3117 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl/interface')
-rw-r--r--tcl/interface/ftdi/minispartan6.cfg15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcl/interface/ftdi/minispartan6.cfg b/tcl/interface/ftdi/minispartan6.cfg
new file mode 100644
index 0000000..8f16011
--- /dev/null
+++ b/tcl/interface/ftdi/minispartan6.cfg
@@ -0,0 +1,15 @@
+# https://www.scarabhardware.com/minispartan6/
+# https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdf
+interface ftdi
+# The miniSpartan6+ sadly doesn't have a custom device description, so we just
+# have to hope you got it right.
+#ftdi_device_desc "Dual RS232-HS"
+ftdi_vid_pid 0x0403 0x6010
+# interface 1 is the uart
+ftdi_channel 0
+# just TCK TDI TDO TMS, no reset
+ftdi_layout_init 0x0008 0x000b
+reset_config none
+# this generally works fast: the fpga can handle 30MHz, the spi flash can handle
+# 54MHz with simple read, no dummy cycles, and wait-for-write-completion
+adapter_khz 30000