Hello Folks,
I am trying to load the built firmware in O-Drive. For that I am using the command odrivetool dfu.
But it is throwing a lot of errors, as below:
ODrive control utility v0.4.10.dev
Waiting for ODrive…
Found ODrive 2078327A4D4B (v3.6-24V) with firmware v0.4.10-dev
Checking online for newest firmware…’_sre.SRE_Match’ object is not subscriptable (about 50 times)
Traceback (most recent call last):
File “…/tools/odrivetool”, line 142, in
odrive.dfu.launch_dfu(args, logger, app_shutdown_token)
File “/home/saurabh/work/ros/ODrive/tools/odrive/dfu.py”, line 454, in launch_dfu
update_device(device, firmware, logger, cancellation_token)
File “/home/saurabh/work/ros/ODrive/tools/odrive/dfu.py”, line 313, in update_device
raise Exception(“could not find any firmware release for this board version”)
Exception: could not find any firmware release for this board version
Then I tried another method with dfu-utils also, but it have below errors:
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available
Sorry, I can’t really help you either, I’m having the exact same error.
I’ve tried again and got this additional error instead of :
dfu-util: No DFU capable USB device available
I got:
Opening DFU capable USB device…
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: dfu-util: error get_status
I didn’t switch the cable in between so I doubt that that’s the issue.
Anyone happen to found a solution for us? I’ll try with a STLink tomorrow as a last test.
*** Update:
I got it working by just trying around again.
Here’s what I did:
Disconnected the Odrive from the Computer and Power, then manually turning it into dfu mode, then reconnecting.
Afterwards it found the Odrive and flashed successfully.