tools/litex_term: increase workaround delay for usb_fifo. (validated on Minispartan6...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 Apr 2020 08:52:15 +0000 (10:52 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 9 Apr 2020 08:52:15 +0000 (10:52 +0200)
Still needs to be fixed properly.

litex/tools/litex_term.py

index be3d6c850bbd663c025cdf230bd8739219d19548..eef2d8577013ab82b0ece0114ed30fc67b80e25f 100755 (executable)
@@ -224,7 +224,7 @@ class LiteXTerm:
             current_address += len(frame_data)
             position += len(frame_data)
             remaining -= len(frame_data)
-            time.sleep(1e-6) # FIXME: small delay needed with FT245 FIFO ("usb_fifo"), understand why.
+            time.sleep(1e-4) # FIXME: small delay needed with FT245 FIFO ("usb_fifo"), understand why.
         end = time.time()
         elapsed = end - start
         f.close()