aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-08-01 03:05:50 +0300
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2016-08-14 02:05:34 +0100
commitf40070c0944e40b2e5c77516c3bc8ed5647b7e75 (patch)
tree750050a9b0853b5170bc3c819183c2d3dcaf5cfc /tcl
parent68622efb3f6facf2dd7484bf586d30f9a3fd62c9 (diff)
downloadriscv-openocd-f40070c0944e40b2e5c77516c3bc8ed5647b7e75.zip
riscv-openocd-f40070c0944e40b2e5c77516c3bc8ed5647b7e75.tar.gz
riscv-openocd-f40070c0944e40b2e5c77516c3bc8ed5647b7e75.tar.bz2
tcl/cpld: add config file for Altera EPM240 CPLD (MAXII family)
Change-Id: I5e589cf9d1d762321b7baa2509a4e78688fe6512 Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Reviewed-on: http://openocd.zylin.com/3607 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/cpld/altera-epm240.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/tcl/cpld/altera-epm240.cfg b/tcl/cpld/altera-epm240.cfg
new file mode 100644
index 0000000..62f2b73
--- /dev/null
+++ b/tcl/cpld/altera-epm240.cfg
@@ -0,0 +1,6 @@
+# Altera MAXII EPM240T100C CPLD
+# see MAX II Device Handbook
+# Table 3-3: 32-Bit MAX II Device IDCODE
+# Version Part Number Manuf. ID LSB
+# 0000 0010 0000 1010 0001 000 0110 1110 1
+jtag newtap epm240 tap -expected-id 0x020a10dd -irlen 10