build/openocd: jtagstream_rxtx reduce tx to 16 and rx to 128

This commit is contained in:
Gwenhael Goavec-Merou 2023-12-13 15:08:18 +01:00
parent cdd80a5f4f
commit 84e376efcb
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ proc jtagstream_drain {tap tx chunk_rx max_rx} {
proc jtagstream_rxtx {tap client is_poll} { proc jtagstream_rxtx {tap client is_poll} {
if {![$client eof]} { if {![$client eof]} {
set tx [$client read 512] set tx [$client read 16]
set rx [jtagstream_drain $tap $tx 512 4096] set rx [jtagstream_drain $tap $tx 128 4096]
if {[string length $rx]} { if {[string length $rx]} {
#echo [string length $rx] #echo [string length $rx]
$client puts -nonewline $rx $client puts -nonewline $rx