From 14b2eea963d66f2a6eefd3924ad563e02321a5fe Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Sun, 22 Dec 2019 08:17:01 +0100 Subject: [PATCH] lattice: display status when something wrong --- lattice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lattice.cpp b/lattice.cpp index ecf4ee8..39ee1e7 100644 --- a/lattice.cpp +++ b/lattice.cpp @@ -214,6 +214,7 @@ bool Lattice::program_mem() progress.done(); else { progress.fail(); + displayReadReg(readStatusReg()); return false; } @@ -228,6 +229,7 @@ bool Lattice::program_mem() printInfo("Disable configuration: ", false); if (!DisableISC()) { printError("FAIL"); + displayReadReg(readStatusReg()); return false; } else { printSuccess("DONE");