weixin_39825045
weixin_39825045
2020-12-09 06:03

[Errno 110] Operation timed out

When you do this step - python ../usbtools/launchBootloader.py I get this error; Launch bootloader Traceback (most recent call last): File "../usbtools/launchBootloader.py", line 95, in sys.exit(launchBootloader(True)) File "../usbtools/launchBootloader.py", line 61, in launchBootloader handle.controlMsg(0x40, 0xFF, (), value=0, index=0, timeout=100) File "/usr/lib/python2.7/dist-packages/usb/legacy.py", line 205, in controlMsg timeout = timeout) File "/usr/lib/python2.7/dist-packages/usb/core.py", line 971, in ctrl_transfer self.__get_timeout(timeout)) File "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 819, in ctrl_transfer timeout)) File "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 552, in _check raise USBError(_strerror(ret), ret, _libusb_errno[ret]) usb.core.USBError: [Errno 110] Operation timed out

Any help on fixing this issue ?

该提问来源于开源项目:bitcraze/crazyradio-firmware

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

7条回答

  • weixin_39554434 weixin_39554434 5月前

    Fixed it! The timeout was too short!

    
      #Send the command to arm the bootloader
      handle.controlMsg(0x40, 0xFF, (), value=0, index=0, timeout=5000)
    

    (PR coming soon)

    image

    点赞 评论 复制链接分享
  • weixin_39830225 weixin_39830225 5月前

    Hi, What is the state of your Crazyradio, what firmware is currently flashed in it?

    点赞 评论 复制链接分享
  • weixin_39825045 weixin_39825045 5月前

    It's brand new just got it today.

    点赞 评论 复制链接分享
  • weixin_39830225 weixin_39830225 5月前
    • Are both LED blinking once when you plug the radio to the computer?
    • Can you share the output of
      lsusb -v -d 1915:7777 | grep bcdDevice
      (to get the Crazyradio version)?
    • Have you tried to run the command with 'sudo'?
    点赞 评论 复制链接分享
  • weixin_39825045 weixin_39825045 5月前

    The lights come on and then off again. I think we figured out the issue is to do with my usb ports themselves as my colleague was able to run it on his just fine. I think it was disconnecting and reconnecting.

    点赞 评论 复制链接分享
  • weixin_39743423 weixin_39743423 5月前

    Looks like this issue is sorted? I'll close it, please reopen if not.

    点赞 评论 复制链接分享
  • weixin_39554434 weixin_39554434 5月前

    Hi

    I'm using Ubuntu Desktop 16.04.5 virtual machine (vmware)

    image

    The radio is working with CFClient in the VM & even Crazyswarm (able to flash STM & NRF from Chooser.py) However I faced some instability issue when using Chooser.py (getting battery works sometimes, and doesn't some times) That's why I'm trying to flash the radio

    I've also tried in BitcrazeVM

    image

    点赞 评论 复制链接分享

相关推荐