projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5a2d6f
)
lattice/programmer: Use --program-image option with tinyprog if address is given.
author
William D. Jones
<thor0505@comcast.net>
Fri, 7 Sep 2018 08:05:49 +0000
(
04:05
-0400)
committer
William D. Jones
<thor0505@comcast.net>
Fri, 7 Sep 2018 08:05:49 +0000
(
04:05
-0400)
litex/build/lattice/programmer.py
patch
|
blob
|
history
diff --git
a/litex/build/lattice/programmer.py
b/litex/build/lattice/programmer.py
index 6b066cf2804caa33488a52f06ce80bd96c8df8a8..07cc0d1ff27b9535541c3e27a3be68fa8d9b2ee5 100644
(file)
--- a/
litex/build/lattice/programmer.py
+++ b/
litex/build/lattice/programmer.py
@@
-76,8
+76,9
@@
class TinyProgProgrammer(GenericProgrammer):
# Ditto with user data.
subprocess.call(["tinyprog", "-u", bitstream_file])
else:
- # Provide override so user can program wherever they wish.
- subprocess.call(["tinyprog", "-a", str(address), "-p",
+ # Provide override so user can program wherever they wish (outside
+ # of bootloader region).
+ subprocess.call(["tinyprog", "-a", str(address), "--program-image",
bitstream_file])
# Force user image to boot if a user reset tinyfpga, the bootloader