lattice: display status register when loadConfiguration fails
This commit is contained in:
parent
56a81c1d68
commit
84b1d86d52
|
|
@ -461,6 +461,7 @@ bool Lattice::program_flash(unsigned int offset)
|
|||
printInfo("Refresh: ", false);
|
||||
if (loadConfiguration() == false) {
|
||||
printError("FAIL");
|
||||
displayReadReg(readStatusReg());
|
||||
return false;
|
||||
} else {
|
||||
printSuccess("DONE");
|
||||
|
|
|
|||
Loading…
Reference in New Issue