From fa5ff873e4b8a281cfaa8f669b23948d686ccdb2 Mon Sep 17 00:00:00 2001 From: Giovanni Bruni Date: Wed, 8 Nov 2023 09:49:14 +0100 Subject: [PATCH] lattice.cpp: restore bypass instruction in clearSRAM() --- src/lattice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lattice.cpp b/src/lattice.cpp index 981679c..5dc8b36 100644 --- a/src/lattice.cpp +++ b/src/lattice.cpp @@ -719,6 +719,8 @@ bool Lattice::clearSRAM() } wr_rd(PRELOAD_SAMPLE, tx_buf, tx_len, NULL, 0); + wr_rd(0xFF, NULL, 0, NULL, 0); + /* ISC Enable 0xC6 */ printInfo("Enable configuration: ", false); if (!EnableISC(0x00)) {