1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 17:36:22 +00:00
openocd/tcl/fpga/efinix_trion.cfg
Daniel Anselmi a27907aed1 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>
2023-07-08 18:04:24 +00:00

18 lines
426 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# efinix trion
# https://www.efinixinc.com/docs/an021-jtag-bst-trion-v1.0.pdf
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME trion
}
jtag newtap $_CHIPNAME tap -irlen 4 -ignore-version \
-expected-id 0x00210A79 \
-expected-id 0x00240A79 \
-expected-id 0x00220A79
pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap -family trion