From 309eda42466a473a3d2562e31cfdfcbd1a9057af Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 23 Jun 2020 17:20:12 +0200 Subject: [PATCH] litex_term: keep and reduce inter-frame delay to 1e-5. Removing it completely would require revisiting the gateware/firmware code of the UART. Since this is use for test purpose only and already allow > 600KB/s upload speed, keeping it is acceptable. --- litex/tools/litex_term.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_term.py b/litex/tools/litex_term.py index 0ae2990d..136dceba 100755 --- a/litex/tools/litex_term.py +++ b/litex/tools/litex_term.py @@ -224,7 +224,7 @@ class LiteXTerm: current_address += len(frame_data) position += len(frame_data) remaining -= len(frame_data) - time.sleep(1e-4) # FIXME: small delay needed with FT245 FIFO ("usb_fifo"), understand why. + time.sleep(1e-5) # Inter-frame delay for fast UARTs (ex: FT245). end = time.time() elapsed = end - start f.close() -- 2.30.2