riscv-openocd/tcl
Antonio Borneo 1457a1ab42 tcl/target: use command 'jtag newtap' to add a boundary scan TAP
A JTAG TAP for boundary scan should be added in the scan chain
through the command "jtag newtap".
In some TCL target script the boundary scan TAP is added through
the command "swj_newdap", command that is inappropriate in this
context because specific for arm adi-v5 SWJ-DP.
This situation was probably created to bypass the error with HLA
framework, caused by missing command "jtag newtap".

Add the command "jtag newtap" in HLA, by reusing the existing
code for command "hla newtap".
Fix the TCL target scripts to use the command "jtag newtap" for
the boundary scan TAPs.

The TCL script target/psoc6.cfg has no evident reference to HLA,
so the reason for using "swj_newdap" is less clear. Nevertheless
it uses the wrong command and, once HLA is fixed, there is no
reason to avoid fixing it too.

Change-Id: Ia92f8221430cf6f3d2c34294e22e5e18963bb88c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4873
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2020-09-05 17:10:14 +01:00
..
board tcl/board/st_nucleo_l1.cfg use dualbank configuration 2020-09-05 16:48:26 +01:00
chip coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
cpld xilinx-xc7: Add additional IDCODEs. 2018-10-27 14:37:43 +01:00
cpu Introduce tcl config files for Synopsys HSDK board 2020-07-26 20:08:31 +01:00
fpga tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
interface tcl/interface/ftdi: fix comment in minimodule-swd.cfg 2020-09-05 16:47:41 +01:00
target tcl/target: use command 'jtag newtap' to add a boundary scan TAP 2020-09-05 17:10:14 +01:00
test coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
tools tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00
bitsbytes.tcl coding style: tcl: remove empty lines at end of text files 2020-05-02 15:40:12 +01:00
mem_helper.tcl mem_helper: add mrh command 2018-12-06 09:38:41 +00:00
memory.tcl Include start-of-region address 2020-02-15 15:30:55 +00:00
mmr_helpers.tcl tcl: fix typo and spelling 2020-05-09 14:37:35 +01:00