mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #662 from fidergo-stephane-gourichon/dfu-util_with_-R
Unconditionally ask dfu-util to "Issue USB Reset"
This commit is contained in:
commit
83b4447f0e
1 changed files with 1 additions and 1 deletions
|
@ -21,4 +21,4 @@ class DFUProg(GenericProgrammer):
|
|||
def load_bitstream(self, bitstream_file):
|
||||
subprocess.call(["cp", bitstream_file, bitstream_file + ".dfu"])
|
||||
subprocess.call(["dfu-suffix", "-v", self.vid, "-p", self.pid, "-a", bitstream_file + ".dfu"])
|
||||
subprocess.call(["dfu-util", "--download", bitstream_file + ".dfu"])
|
||||
subprocess.call(["dfu-util", "--download", bitstream_file + ".dfu", "-R"])
|
||||
|
|
Loading…
Reference in a new issue