Skip to content

Commit

Permalink
build/openocd: jtagstream_rxtx reduce tx to 16 and rx to 128
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Dec 13, 2023
1 parent cdd80a5 commit 84e376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/build/openocd.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def stream(self, port=20000, chain=1):
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
Expand Down

0 comments on commit 84e376e

Please sign in to comment.