Firmware v0.5.2 is now officially released! A matching version of odrivetool has also been published.
You can upgrade odrivetool by running pip install --upgrade odrive. After that, you can upgrade the firmware on your ODrive with odrivetool dfu.
This release greatly improved free processing time. Running dual-axis RC PWM no longer causes DEADLINE_MISS errors and the maximum step rate for step/dir has been increased. You can find the full list of changes on the release page here.
Happy ODriving!
EDIT: The release verison strings in this firmware are wrong. It will read 0.5.1-dev instead of 0.5.2. This will be corrected in 0.5.3.
Hi.
I don’t know it’s just me or it’s a real problem with DRV8301 in firmware version 0.5.2.
It’s normal when the motors are not connected to ODrive. But [MOTOR_ERROR_DRV_FAULT] error occurs when the motors are connected. The error code is In [1]: odrv0.axis1.last_drv_fault Out[1]: 8390655
And the odrivetool seems to have some connection issues. So I have to use ODrive control utility v0.5.1 instead. v0.5.2 gives me this:
e[91;1m20:37:05.274147100 [USB] Could not open USB device: -3e[0m very often.
@tinker_inc To find all ODrives you can look at the implementation of find_any as a reference. You’d do something like this:
async def discovered_object(obj):
# do something with obj
with domain as fibre.Domain(path)
discovery = domain.run_discovery(discovered_object)
# do something until the discovery is supposed to stop
discovery.stop()
Hey,
I´m on 0.5.1 atm and when i upgrade to 0.5.2 with odrivetool DFU i get the error 0.0.2.0 and the odrive isn´t recognised by windows anymore. If i put it into DFU mode manually and flash back the 0.5.1 firmare with the ST cube Programm it works fine again. If i flash the 0.5.2 firmware with the ST tool i dont get any errors and then I put the odrive back out of DFU mode and again its not recognised by windows anymore.
Can sombody tell me what am i doing wrong?
Thanks for the help.
just tried it, no change in behavior i tried both odrivetool dfu and the STM32Cubeprogrammer software. Also i tried 0.5.2 rc2 few minutes ago and no changes there either.
One thing that i think is happening is that the new 0.5.2 firmware is checking for the board version in otp memeroy of stm32 and thats fucking with things. can you compile a firmware version 0.5.2 for odrive 3.6 56V for me that skips the firmware check?
i dont want to set up everything that is needed to compile the odrive FW myself.
Ah yes it’s possible that this check is causing issues. What indications do you have that point towards this?
We have a procedure in place to flash all boards with both firmware and OTP before shipping them but it’s well possible that some boards have slipped through with an invalid OTP. So if you think this is what’s causing the boot issue then that’s a hardware bug. In this case please email info@odriverobotics.com with your order number to arrange a replacement of your board.
If the property object has a member function exchange then it’s read-write, otherwise it’s read-only. You can check this for example with hasattr(my_property, "exchange").