1
0
mirror of https://git.code.sf.net/p/openocd/code synced 2024-11-24 18:46:24 +00:00
openocd/tcl/fpga/efinix_titanium.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

24 lines
600 B
INI

# SPDX-License-Identifier: GPL-2.0-or-later
# efinix titanium
# https://www.efinixinc.com/docs/an048-jtag-bst-titanium-v1.0.pdf
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME titanium
}
jtag newtap $_CHIPNAME tap -irlen 5 -ignore-version \
-expected-id 0x10661A79 \
-expected-id 0x00360A79 \
-expected-id 0x10660A79 \
-expected-id 0x00681A79 \
-expected-id 0x00688A79 \
-expected-id 0x00682A79 \
-expected-id 0x0068CA79 \
-expected-id 0x00680A79 \
-expected-id 0x00684A79
pld create $_CHIPNAME.pld efinix -chain-position $_CHIPNAME.tap -family titanium