From 84e376efcb76a1b22ebf4a290f5fc9bc360a3f19 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 13 Dec 2023 15:08:18 +0100 Subject: [PATCH] build/openocd: jtagstream_rxtx reduce tx to 16 and rx to 128 --- litex/build/openocd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/build/openocd.py b/litex/build/openocd.py index d0aff8596..2a8f47684 100644 --- a/litex/build/openocd.py +++ b/litex/build/openocd.py @@ -144,8 +144,8 @@ proc jtagstream_drain {tap tx chunk_rx max_rx} { proc jtagstream_rxtx {tap client is_poll} { if {![$client eof]} { - set tx [$client read 512] - set rx [jtagstream_drain $tap $tx 512 4096] + set tx [$client read 16] + set rx [jtagstream_drain $tap $tx 128 4096] if {[string length $rx]} { #echo [string length $rx] $client puts -nonewline $rx