mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-31 02:07:14 +02:00
lattice: display status when something wrong
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user