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
|
@ -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 New Issue