aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2021-10-21 17:08:49 -0700
committerGitHub <noreply@github.com>2021-10-21 17:08:49 -0700
commita554e09e7c0703e3289411da3db556df718b9c1e (patch)
treed0ff31ee767b4b916d1d974cd62dd21524f20370 /tools
parent857b5cec1b7cbe557ae0b02be3467444926a9c05 (diff)
downloadriscv-openocd-a554e09e7c0703e3289411da3db556df718b9c1e.zip
riscv-openocd-a554e09e7c0703e3289411da3db556df718b9c1e.tar.gz
riscv-openocd-a554e09e7c0703e3289411da3db556df718b9c1e.tar.bz2
Properly handle held-in-reset targets. (#654)
* Properly handle held-in-reset targets. 1. Let OpenOCD continue into some pre-existing code that will periodically call examine() until it passes. 2. Fix crash in riscv_openocd_poll() When SMP is configured, it's not guaranteed that all targets have been examine()d when poll is called on one of them. Change-Id: Ic6c1d217dc766ea69b67bb2e9a4898e37ee94927 Signed-off-by: Tim Newsome <tim@sifive.com> * Actually poll for examine at least every 5s. That's what the comment says the code is trying to do. Change-Id: I34ff909a98f8aebb3c514e0f3ee403be7699c094 Signed-off-by: Tim Newsome <tim@sifive.com> * Compact this error message a bit. Reduces clutter when some targets haven't been properly examined yet. Change-Id: Id865f191f0fbb48abece8b8558cc9fa2041a26df Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/filter_openocd_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/filter_openocd_log.py b/tools/filter_openocd_log.py
index da17b17..cd38efd 100755
--- a/tools/filter_openocd_log.py
+++ b/tools/filter_openocd_log.py
@@ -106,7 +106,7 @@ def main(args):
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('file', nargs='*', help='input file')
parser.add_argument('-o', '--output', help='output file', default=sys.stdout)
- parser.add_argument('-w', '--window', type=int, default=100,
+ parser.add_argument('-w', '--window', type=int, default=400,
help='number of lines to consider when looking for repetitions')
args = parser.parse_args(args)