forked from auracaster/openocd
Cadence virtual debug interface (vdebug) integration
Change-Id: I1bc105b3addc3f34161c2356c482ff3011e3f2cc Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6097 Tested-by: jenkins Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Reviewed-by: zapb <dev@zapb.de> Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
2a2636f138
commit
f998a2aaf1
33
tcl/interface/vdebug.cfg
Normal file
33
tcl/interface/vdebug.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
# Cadence virtual debug interface
|
||||
|
||||
if { [info exists VDEBUGHOST] } {
|
||||
set _VDEBUGHOST $VDEBUGHOST
|
||||
} else {
|
||||
set _VDEBUGHOST localhost
|
||||
}
|
||||
if { [info exists VDEBUGPORT] } {
|
||||
set _VDEBUGPORT $VDEBUGPORT
|
||||
} else {
|
||||
set _VDEBUGPORT 8192
|
||||
}
|
||||
|
||||
adapter driver vdebug
|
||||
# vdebug server:port
|
||||
vdebug server $_VDEBUGHOST:$_VDEBUGPORT
|
||||
|
||||
# example config debug level and log
|
||||
#debug_level 3
|
||||
#log_output vd_ocd.log
|
||||
|
||||
# example config listen on all interfaces, disable tcl/telnet server
|
||||
bindto 0.0.0.0
|
||||
#gdb_port 3333
|
||||
#telnet_port disabled
|
||||
tcl_port disabled
|
||||
|
||||
# transaction batching: 0 - no batching, 1 - (default) wr, 2 - rw
|
||||
vdebug batching 1
|
||||
|
||||
# Polling values
|
||||
vdebug polling 100 1000
|
||||
Reference in New Issue
Block a user