(As a “new user” apparently I’m not allowed to have more than two links in a post. You’ll have to trust me about the references to where I found things. Very frustrating that the support area has silly limits on new users, even paying customers for hardware.)
I’m having a lot of trouble getting USB communications to be stable with this thing. Consistently, 10 seconds after seeing “Connected to ODrive 207438A5304E as odrv0” I get “Oh no odrv0 disappeared”.
I followed the instructions, as far as software setup is concerned, at for Win 10 using Anaconda. I used zadig to get the driver set correctly. At that point, there was still something missing because there were no DLLs for libusb. I used the advice here https://stackoverflow.com/questions/54162872/pyusb-with-windows-libusb1-and-libusb-win32-backends-not-working to track down the DLLs and get them on the path.
I get several warnings when I start up odrivetool from within Anacoda’s command line:
(base) C:\Users\Random User>odrivetool
ODrive control utility v0.4.12
C:\ProgramData\Anaconda3\lib\site-packages\fibre\shell.py:104: RuntimeWarning: coroutine ‘InteractiveShell.run_code’ was
never awaited
console.runcode(‘import sys’)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
C:\ProgramData\Anaconda3\lib\site-packages\fibre\shell.py:105: RuntimeWarning: coroutine ‘InteractiveShell.run_code’ was
never awaited
console.runcode(‘superexcepthook = sys.excepthook’)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
C:\ProgramData\Anaconda3\lib\site-packages\fibre\shell.py:106: RuntimeWarning: coroutine ‘InteractiveShell.run_code’ was
never awaited
console.runcode(‘def newexcepthook(ex_class,ex,trace):\n’
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
C:\ProgramData\Anaconda3\lib\site-packages\fibre\shell.py:109: RuntimeWarning: coroutine ‘InteractiveShell.run_code’ was
never awaited
console.runcode(‘sys.excepthook=newexcepthook’)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Please connect your ODrive.
You can also type help() or quit().
Connected to ODrive 207438A5304E as odrv0
I attempted to use “odrivetool dfu” to make sure the firmware was up to date. A surprising thing was that it reported “0.4.12-dev” was on the board with “0.4.12” available. After trying to update using that, it then told me that the firmware on the board didn’t support DFU and to update via STLINK.
I went to to find the firmware for update, downloaded ODriveFirmware_v3.6-56V.elf and ran the openocd command line listed here . What’s up with this whole startup process? Why did the original firmware report 0.4.12 and the “released” 0.4.12 firmware reports 3.6? How do I get odrivetool to communicate for more than 10 seconds?