From: William D. Jones Date: Fri, 7 Sep 2018 08:05:49 +0000 (-0400) Subject: lattice/programmer: Use --program-image option with tinyprog if address is given. X-Git-Tag: 24jan2021_ls180~1619^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c812321a937c95abed5b233619d8043fcae7c1a5;p=litex.git lattice/programmer: Use --program-image option with tinyprog if address is given. --- diff --git a/litex/build/lattice/programmer.py b/litex/build/lattice/programmer.py index 6b066cf2..07cc0d1f 100644 --- 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