projects
/
soc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test firmware upload program needed to branch back further in order to loop
[soc.git]
/
src
/
soc
/
debug
/
firmware_upload.py
diff --git
a/src/soc/debug/firmware_upload.py
b/src/soc/debug/firmware_upload.py
index 7480e8d41ac76efb4e1741aefcc9894973c577be..9fdef8b706c2dd3dbbdf1e1e8c01dd74e3ff729a 100644
(file)
--- a/
src/soc/debug/firmware_upload.py
+++ b/
src/soc/debug/firmware_upload.py
@@
-163,7
+163,7
@@
if __name__ == '__main__':
lst = ["addi 9, 0, 0x10", # i = 16
"addi 9,9,-1", # i = i - 1
"cmpi 2,1,9,12", # compare 9 to value 12, store in CR2
- "bc 4,10,-
8
", # branch if CR2 "test was != 12"
+ "bc 4,10,-
16
", # branch if CR2 "test was != 12"
'attn',
]