2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-08-15 09:36:34 +10:00
openocd/tcl/interface/vdebug.cfg
Jacek Wuwer 2065bac380 jtag/vdebug: implement a polling mechanism
This change adds a polling mechanism to the driver. When not busy
the driver issues a wait, allowing the target to advance time.
The wait period gets adjusted to match the polling setting.

Change-Id: I67f481d05d7c5ce5352b5cb97de78dbaa97d82ae
Signed-off-by: Jacek Wuwer <jacekmw8@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8221
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
2025-06-07 10:05:05 +00:00

34 lines
702 B
INI

# 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 500