mirror of
https://git.code.sf.net/p/openocd/code
synced 2024-11-14 18:37:11 +00:00
f97915f248
This patch adds support for DAP interface to Cadence vdebug driver. It implements a new transport layer for dapdirect_swd. Change-Id: I64b02a9e1ce91e552e07fca692879655496f88b6 Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6965 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
18 lines
411 B
INI
18 lines
411 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Cadence virtual debug interface
|
|
# RISCV core
|
|
|
|
if {![info exists _HARTID]} {
|
|
set _HARTID 0x00
|
|
}
|
|
if {![info exists _CHIPNAME]} {
|
|
set _CHIPNAME riscv
|
|
}
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
|
|
|
target create $_TARGETNAME riscv -chain-position $_TARGETNAME -coreid $_HARTID
|
|
|
|
riscv set_reset_timeout_sec 120
|
|
riscv set_command_timeout_sec 120
|
|
riscv set_mem_access sysbus progbuf
|