From 35dd87499c99c76a594044981bfd1a5fd06f4a98 Mon Sep 17 00:00:00 2001 From: Jiaxun Yang Date: Tue, 5 Mar 2024 21:34:56 +0000 Subject: [PATCH] build/openocd: Disable polling after init OpenOCD's event polling mechanism may interfere with jtagstream, as we don't expect any command sent by openocd itself. Signed-off-by: Jiaxun Yang --- litex/build/openocd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/build/openocd.py b/litex/build/openocd.py index 2a8f47684..8518a586c 100644 --- a/litex/build/openocd.py +++ b/litex/build/openocd.py @@ -185,6 +185,7 @@ proc jtagstream_serve {tap port} { write_to_file("stream.cfg", cfg) script = "; ".join([ "init", + "poll off", "irscan $_CHIPNAME.tap {:d}".format(ir), "jtagstream_serve $_CHIPNAME.tap {:d}".format(port), "exit",