projects
/
ecpprog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aaea45b
)
fix flag decoding
author
Greg Davill
<greg.davill@gmail.com>
Sat, 18 Apr 2020 14:49:10 +0000
(
00:19
+0930)
committer
Greg Davill
<greg.davill@gmail.com>
Sat, 18 Apr 2020 14:49:10 +0000
(
00:19
+0930)
ecpprog.c
patch
|
blob
|
history
diff --git
a/ecpprog.c
b/ecpprog.c
index 4884a1c4606c5b0e25201743b19c8ad721f8b388..a899b47a14ed3ec4266afebd876820daab8af367 100644
(file)
--- a/
ecpprog.c
+++ b/
ecpprog.c
@@
-463,7
+463,7
@@
static void print_status_register(uint32_t status){
if(verbose){
printf(" Transparent Mode: %s\n", status & (1 << 0) ? "Yes" : "No" );
if(verbose){
printf(" Transparent Mode: %s\n", status & (1 << 0) ? "Yes" : "No" );
- printf(" Config Target: %s\n", status & (7 << 1) ? "
SRAM" : "eFuse
" );
+ printf(" Config Target: %s\n", status & (7 << 1) ? "
eFuse" : "SRAM
" );
printf(" JTAG Active: %s\n", status & (1 << 4) ? "Yes" : "No" );
printf(" PWD Protection: %s\n", status & (1 << 5) ? "Yes" : "No" );
printf(" Decrypt Enable: %s\n", status & (1 << 7) ? "Yes" : "No" );
printf(" JTAG Active: %s\n", status & (1 << 4) ? "Yes" : "No" );
printf(" PWD Protection: %s\n", status & (1 << 5) ? "Yes" : "No" );
printf(" Decrypt Enable: %s\n", status & (1 << 7) ? "Yes" : "No" );