Not able to flash the O-Drive

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

Do I supposed to use any other USB cable here?

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.

It looked like this:

dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
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: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 156344
Download [ ] 0% Downloadbytes [ ] 0% Downloadbytes [ ] 3% Downloadbytes [= ] 5% Downloadbytes [== ] 9% Downloadbytes [== ] 10% Downloadbytes [=== ] 13% Downloadbytes [=== ] 14% Downloadbytes [==== ] 17% Downloadbytes [==== ] 19% Downloadbytes [===== ] 20% Downloadbytes [===== ] 23% Downloadbytes [====== ] 24% Downloadbytes [======= ] 28% Downloadbytes [======= ] 30% Downloadbytes [======== ] 32% Downloadbytes [======== ] 34% Downloadbytes [========= ] 36% Downloadbytes [========= ] 39% Downloadbytes [========== ] 40% Downloadbytes [========== ] 41% Downloadbytes [=========== ] 44% Downloadbytes [============ ] 48% Downloadbytes [============ ] 51% Downloadbytes [============= ] 52% Downloadbytes [============== ] 56% Downloadbytes [============== ] 57% Downloadbytes [=============== ] 60% Downloadbytes [=============== ] 62% Downloadbytes [================ ] 64% Downloadbytes [================= ] 68% Downloadbytes [================= ] 69% Downloadbytes [================== ] 72% Downloadbytes [================== ] 74% Downloadbytes [=================== ] 77% Downloadbytes [==================== ] 81% Downloadbytes [==================== ] 83% Downloadbytes [===================== ] 85% Downloadbytes [===================== ] 86% Downloadbytes [====================== ] 89% Downloadbytes [====================== ] 91% Downloadbytes [======================= ] 93% Downloadbytes [======================== ] 96% Downloadbytes [======================== ] 98% Downloadbytes [=========================] 100% 156344 bytes
Download done.
File downloaded successfully

Maybe that will help you! Good Luck!