From 23c9733a6df4abbb59e869b6c2b4e6246c78575d Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Fri, 9 Oct 2020 21:29:48 +0200 Subject: [PATCH] gowin: force flush when it's mandatory --- src/gowin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gowin.cpp b/src/gowin.cpp index 70db72e..2e8e336 100644 --- a/src/gowin.cpp +++ b/src/gowin.cpp @@ -265,6 +265,7 @@ bool Gowin::wr_rd(uint8_t cmd, if (rx || tx) { _jtag->shiftDR(xfer_tx, (rx) ? xfer_rx : NULL, 8 * xfer_len); _jtag->toggleClk(6); + _jtag->flush(); } if (rx) { if (verbose) {