Completely new to the odrive scene so please go easy!
Previously, I had successfully used the odrivetool with my 24V odrive v3.6 to drive a motor with no issue.
I have recently moved to a new PC and have followed the installation processes as per the documentation. Now, when running the odrivetool, I cannot connect to the device? When launching the odrive tool, the prompt states:
(base) C:\>odrivetool
ODrive control utility v0.5.2.post0
Website: https://odriverobotics.com/
Docs: https://docs.odriverobotics.com/
Forums: https://discourse.odriverobotics.com/
Discord: https://discord.gg/k3ZZ3mS
Github: https://github.com/madcowswe/ODrive/
Please connect your ODrive.
You can also type help() or quit().
In [1]: e[91;1m11:52:53.786864900 [USB] Could not open USB device: -5e[0m
e[91;1m11:52:54.803066100 [USB] Could not open USB device: -5e[0m
e[91;1m11:52:55.817998200 [USB] Could not open USB device: -5e[0m
e[91;1m11:52:56.834118400 [USB] Could not open USB device: -5e[0m
e[91;1m11:52:57.847404300 [USB] Could not open USB device: -5e[0m
The only thing I can see is wrong is that on the device manager, it thinks the device is a formlabs printer!?
Note that the instructions about the Zadig utility have been removed from the docs because odrivetool should work without driver setup now.
However unfortunately apparently the Formlabs driver grabs more devices than it should. I’d be interested in what exactly it grabs. Can you follow the instructions in this post to find Formlabs’ “.inf” file? When you find it then please paste or upload it here.
Once that’s done, you can override the driver with the Zadig utility by setting the ODrive Native Interface’s driver to “libusb-win32”.
![Zadig Odrive|690x308](upload://pTzJCZq5i0L8geC1p9PLyq2UroV.pn
edit: The Odrive Native Interface just popped up in Zadig and replacing it with the libusb got it up and running for v0.5.1 will try for v0.5.2
Upgrading to 0.5.2 with odrivetool dfu returns an error,
RuntimeError: An error occured. Device Status: (0, 2, 0, 0)
Trying with STM32 Cube Programmer to flash it with the 0.5.2 hex file causes the ODrive Native Interface to not appear at all in Zadig to flash it as libusb, not really sure how to upgrade to 0.5.2.
I’ve seen the same error mentioned in the 0.5.2 release thread by rob but wasn’t clear on how he resolved this issue. Hopefully someone can help.
No. My problem:
(base) C:\Users\Kaj.AAU117352>odrivetool -v
ODrive control utility v0.5.4
…
Please connect your ODrive.
You can also type help() or quit().
In [1]: ←[91;1m16:51:28.276128200 [USB] Could not open USB device: -5←[0m
←[91;1m16:51:29.364662000 [USB] Could not open USB device: -5←[0m
USB: Win Usb Device
device = usb.core.find()
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\Kaj.AAU117352\anaconda3\lib\site-packages\usb\core.py”, line 1309, in find
raise NoBackendError(‘No backend available’)
usb.core.NoBackendError: No backend available
I had the same Issue, what worked for me was:
with Zadig → options-> List all devices
Odrive 3.6 CDC interface install USB Serial(CDC)
ODrive 3.6 Native Interface install libusb-win32 (v1.2.6.0)
Actually, I ran into an issue the next day (maybe next power cycle) where I could no longer see the odrive at all with odrivetool or zadig. I did manage to see it with the DFU switch, but I am having issues with firmware. I will update with more details or start a new thread later today.
I hope that this isn’t too late, but I also ran into this problem, and the fix is stupid simple, because the cause is also stupid and simple…
I had the D5312S motor, and it turns out I had over-screwed the mounting fasteners, and that they were shorting out the windings (oops!)… So yeah, backing it off a bit instantly fixed the problem, I am very sketched out and I think I’ll have to coat the damaged portion with some conformal coating.
3D printed test fixture: if anyone wants the STL or the solidworks model feel free to ask!