Skip to content

Commit 57dedfa

Browse files
Jakob Arndtsessl3r
authored andcommitted
labgrid/driver/xsdbdriver.py: Fix bitfile programming
This commit adds the 'disconnect' command to the xsdb commands executed in the run function. This was neccesary to avoid bitfile programming errors after device boot. Signed-off-by: Jakob Arndt <[email protected]>
1 parent 27bbd77 commit 57dedfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labgrid/driver/xsdbdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run(self, tcl_cmds):
3838
url[1] = self.interface.host
3939

4040
tcl_cmd = "connect -url {}; ".format(":".join(url))
41-
tcl_cmd += "; ".join(tcl_cmds)
41+
tcl_cmd += "; ".join(tcl_cmds) + "; disconnect"
4242

4343
cmd = [self.xsdb_bin, "-eval", tcl_cmd]
4444
return processwrapper.check_output(cmd)

0 commit comments

Comments
 (0)