aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-08-01 03:07:09 +0300
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-08-14 02:05:41 +0100
commit07979f0cbc3211d8699af95129902e82944d751c (patch)
tree703d0625d370158b047b77c3739cf3f6ebc5326d /tcl
parentf40070c0944e40b2e5c77516c3bc8ed5647b7e75 (diff)
downloadriscv-openocd-07979f0cbc3211d8699af95129902e82944d751c.zip
riscv-openocd-07979f0cbc3211d8699af95129902e82944d751c.tar.gz
riscv-openocd-07979f0cbc3211d8699af95129902e82944d751c.tar.bz2
tcl/board: add Marsohod CPLD board config
Marsohod is a very cheap CPLD Development and Education board. Please see http://marsohod.org/howtostart/plata for details. Sample usage: openocd -f board/marsohod.cfg -c init -c "svf -tap epm240.tap project.svf" -c shutdown Change-Id: Ia8b7d46cbead15a2a41a2a4e68d7ff4f4ee3e88a Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on: http://openocd.zylin.com/3608 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/marsohod.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tcl/board/marsohod.cfg b/tcl/board/marsohod.cfg
new file mode 100644
index 0000000..681f575
--- /dev/null
+++ b/tcl/board/marsohod.cfg
@@ -0,0 +1,13 @@
+#
+# Marsohod CPLD Development and Education board
+#
+# http://marsohod.org/howtostart/plata
+#
+
+# Recommended MBFTDI programmer
+source [find interface/ftdi/mbftdi.cfg]
+adapter_khz 2000
+transport select jtag
+
+# Altera MAXII EPM240T100C CPLD
+source [find cpld/altera-epm240.cfg]