diff options
author | Kai Schmitz <kai.schmitz@advantest.com> | 2023-01-05 13:50:53 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-03-18 22:01:34 +0000 |
commit | b6b4f9d46a48aadc1de6bb5152ff4913661c9059 (patch) | |
tree | 95bb59edaa6b6d8ec98f67e86a6df92eab87c8df /doc | |
parent | b4e28446b8f2a116b088eef78744c8b529c1a747 (diff) | |
download | riscv-openocd-b6b4f9d46a48aadc1de6bb5152ff4913661c9059.zip riscv-openocd-b6b4f9d46a48aadc1de6bb5152ff4913661c9059.tar.gz riscv-openocd-b6b4f9d46a48aadc1de6bb5152ff4913661c9059.tar.bz2 |
svf: new command line options -noreset and -addcycles
-noreset: when using several SVF input files in a sequence it is not always
desireable to have a JTAG reset between the execution of the files.
The -noreset option skips this unwanted reset.
-addcycles <x>: some tests rely on a certain number of extra clock cycles
between the actual JTAG commands. The -addcycles option injects a number
x cycles after each SDR instruction.
Signed-off-by: Kai Schmitz <kai.schmitz@advantest.com>
Change-Id: I31932d6041dbc803be00016cd0a4f23fb2e7dbe1
Reviewed-on: https://review.openocd.org/c/openocd/+/7433
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 414b4c4..0de101b 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -11433,7 +11433,8 @@ In a debug session using JTAG for its transport protocol, OpenOCD supports running such test files. @deffn {Command} {svf} @file{filename} [@option{-tap @var{tapname}}] [@option{[-]quiet}] @ - [@option{[-]nil}] [@option{[-]progress}] [@option{[-]ignore_error}] + [@option{[-]nil}] [@option{[-]progress}] [@option{[-]ignore_error}] @ + [@option{-noreset}] [@option{-addcycles @var{cyclecount}}] This issues a JTAG reset (Test-Logic-Reset) and then runs the SVF script from @file{filename}. @@ -11452,6 +11453,10 @@ on the real interface; @item @option{[-]progress} enable progress indication; @item @option{[-]ignore_error} continue execution despite TDO check errors. +@item @option{-noreset} omit JTAG reset (Test-Logic-Reset) before executing +content of the SVF file; +@item @option{-addcycles @var{cyclecount}} inject @var{cyclecount} number of +additional TCLK cycles after each SDR scan instruction; @end itemize @end deffn |