Merge pull request #100 from cr1901/tinyprog-fix
lattice/programmer: Use --program-image option with tinyprog if addre…
This commit is contained in:
commit
69716852f1
|
@ -76,8 +76,9 @@ class TinyProgProgrammer(GenericProgrammer):
|
||||||
# Ditto with user data.
|
# Ditto with user data.
|
||||||
subprocess.call(["tinyprog", "-u", bitstream_file])
|
subprocess.call(["tinyprog", "-u", bitstream_file])
|
||||||
else:
|
else:
|
||||||
# Provide override so user can program wherever they wish.
|
# Provide override so user can program wherever they wish (outside
|
||||||
subprocess.call(["tinyprog", "-a", str(address), "-p",
|
# of bootloader region).
|
||||||
|
subprocess.call(["tinyprog", "-a", str(address), "--program-image",
|
||||||
bitstream_file])
|
bitstream_file])
|
||||||
|
|
||||||
# Force user image to boot if a user reset tinyfpga, the bootloader
|
# Force user image to boot if a user reset tinyfpga, the bootloader
|
||||||
|
|
Loading…
Reference in New Issue