aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorDaniel Anselmi <danselmi@gmx.ch>2023-04-15 01:13:12 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2023-07-08 18:04:24 +0000
commita27907aed1cd26bcbaac834343f08146fc8fa1fe (patch)
treea21b6ef9b006fec2cb997811170bbf7c54b9214a /tcl
parent373d7eaa706b4895cb94e5f563526aec865c8814 (diff)
downloadriscv-openocd-a27907aed1cd26bcbaac834343f08146fc8fa1fe.zip
riscv-openocd-a27907aed1cd26bcbaac834343f08146fc8fa1fe.tar.gz
riscv-openocd-a27907aed1cd26bcbaac834343f08146fc8fa1fe.tar.bz2
ipdbg/pld: ipdbg can get tap and hub/ir from pld driver.
To start a ipdbg server one needs to know the tap and the instruction code to reach the IPDBG-Hub. This instruction is vendor/family specific. Knowledge which can be provided by the pld driver. Change-Id: I13eeb9fee895d65cd48544da4704fcc9b528b869 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7369 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/fpga/efinix_titanium.cfg2
-rw-r--r--tcl/fpga/efinix_trion.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/tcl/fpga/efinix_titanium.cfg b/tcl/fpga/efinix_titanium.cfg
index 8b356cb..3c2cdd7 100644
--- a/tcl/fpga/efinix_titanium.cfg
+++ b/tcl/fpga/efinix_titanium.cfg
@@ -20,4 +20,4 @@ jtag newtap $_CHIPNAME tap -irlen 5 -ignore-version \
-expected-id 0x00680A79 \
-expected-id 0x00684A79
-pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap
+pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap -family titanium
diff --git a/tcl/fpga/efinix_trion.cfg b/tcl/fpga/efinix_trion.cfg
index 2b50d8c..1c789f5 100644
--- a/tcl/fpga/efinix_trion.cfg
+++ b/tcl/fpga/efinix_trion.cfg
@@ -14,4 +14,4 @@ jtag newtap $_CHIPNAME tap -irlen 4 -ignore-version \
-expected-id 0x00240A79 \
-expected-id 0x00220A79
-pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap
+pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap -family trion