From 9eed2811a3652e562afa9180a2db79b209d52b95 Mon Sep 17 00:00:00 2001 From: Dominik Nowak Date: Tue, 28 May 2024 12:18:13 +0200 Subject: [PATCH] Update flash-firmware-usb.py --- rosbot_utils/rosbot_utils/flash-firmware-usb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rosbot_utils/rosbot_utils/flash-firmware-usb.py b/rosbot_utils/rosbot_utils/flash-firmware-usb.py index 8b8fd20e..310af7a8 100755 --- a/rosbot_utils/rosbot_utils/flash-firmware-usb.py +++ b/rosbot_utils/rosbot_utils/flash-firmware-usb.py @@ -65,6 +65,7 @@ def try_flash_operation(self, operation_name, flash_command, flash_args): try: self.enter_bootloader_mode() sh.usbreset("0403:6015") + time.sleep(2.0) flash_command(self.port, *flash_args, _out=sys.stdout) self.exit_bootloader_mode() time.sleep(0.2)