update nrfutil.exe for windows
This commit is contained in:
1 parent
ecbf297a6d
commit
d42eb334c2
2 files changed
+3
-2
No files matched your search
Binary file not shown.
@@ -80,12 +80,13 @@ class DfuTransportSerial(DfuTransport):
|
||||
except Exception, e:
|
||||
raise NordicSemiException("Serial port could not be opened on {0}. Reason: {1}".format(self.com_port, e.message))
|
||||
|
||||
time.sleep(DfuTransportSerial.SERIAL_PORT_OPEN_WAIT_TIME)
|
||||
|
||||
# Toggle DTR to reset the board and enter DFU mode
|
||||
self.serial_port.setDTR(False)
|
||||
time.sleep(0.05)
|
||||
self.serial_port.setDTR(True)
|
||||
|
||||
time.sleep(DfuTransportSerial.SERIAL_PORT_OPEN_WAIT_TIME)
|
||||
|
||||
def close(self):
|
||||
super(DfuTransportSerial, self).close()
|
||||
self.serial_port.close()
|
||||
|
||||
Reference in new issue
Block a user