Skip to content

Commit 1277d06

Browse files
committed
fix USB programming
1 parent a8ff795 commit 1277d06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rosbot_utils/rosbot_utils/flash-firmware-usb.py

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def exit_bootloader_mode(self):
6363

6464
def flash_firmware(self):
6565
self.enter_bootloader_mode()
66+
sh.usbreset("0403:6015")
67+
time.sleep(1.0)
6668

6769
# Disable the flash read-protection
6870
flash_args = ["-k", "-b", "115200"]

0 commit comments

Comments
 (0)