diff options
author | Kirill Radkin <kirill.radkin@syntacore.com> | 2023-09-14 18:11:53 +0300 |
---|---|---|
committer | Kirill Radkin <kirill.radkin@syntacore.com> | 2023-10-02 11:54:07 +0300 |
commit | e76a9b799d2040092465a838d29523fa08c7cf12 (patch) | |
tree | fffdd353cdcb7969d162084b368efd6a312b9461 /doc/openocd.texi | |
parent | 2f1714789bed838345adc14058e6086165c0ec2a (diff) | |
download | riscv-openocd-e76a9b799d2040092465a838d29523fa08c7cf12.zip riscv-openocd-e76a9b799d2040092465a838d29523fa08c7cf12.tar.gz riscv-openocd-e76a9b799d2040092465a838d29523fa08c7cf12.tar.bz2 |
provide riscv-specific controls to disable triggers from beeing used for watchpoints
Add a new riscv specific commands to disable triggers
Change-Id: Ic1842085aa66851c740e0abcbfbe0adbe930920e
Signed-off-by: Kirill Radkin <kirill.radkin@syntacore.com>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r-- | doc/openocd.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 2d0a16d..4883e66 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -10871,6 +10871,21 @@ Control dcsr.ebreaku. When on (default), U-mode ebreak instructions trap to OpenOCD. When off, they generate a breakpoint exception handled internally. @end deffn +The commands below can be used to prevent OpenOCD from using certain RISC-V trigger features. +For example in cases when there are known issues in the target hardware. + +@deffn {Command} {riscv set_enable_eq_match_trigger} [on|off] +When on (default), allow OpenOCD to use exact-match triggers in watchpoints. +@end deffn + +@deffn {Command} {riscv set_enable_napot_trigger} [on|off] +When on (default), allow OpenOCD to use NAPOT trigger in watchpoints. +@end deffn + +@deffn {Command} {riscv set_enable_ge_lt_trigger} [on|off] +When on (default), allow OpenOCD to use a pair of chained less-than & greater-than triggers in watchpoints. +@end deffn + @subsection RISC-V Authentication Commands The following commands can be used to authenticate to a RISC-V system. Eg. a |