Flashing error Odrive V3.6

Hello community,

this is the first try to use odrive. Following the docs the next step was to upgrade the fw with `odrivetool dfu

The erasing was succesful, but the writing not. This is the error what I get.

Edu-MacBook-Pro-226:~ eduard$ odrivetool dfu
ODrive control utility v0.5.2.post0
Waiting for ODrive…
Found ODrive 206439A04D4D (v3.6-24V) with firmware v0.4.11-dev
Checking online for newest firmware… found v0.5.2
Downloading firmware v0.5.2…
Putting device 206439A04D4D into DFU mode…
Erasing… done
Flashing… (sector 0/7)
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.6/bin/odrivetool”, line 148, in
odrive.dfu.launch_dfu(args, logger, app_shutdown_token)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/odrive/dfu.py”, line 471, in launch_dfu
update_device(device, firmware, logger, cancellation_token)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/odrive/dfu.py”, line 397, in update_device
dfudev.write_sector(sector, data)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/odrive/dfuse/DfuDevice.py”, line 202, in write_sector
raise RuntimeError(“An error occured. Device Status: {!r}”.format(status))
RuntimeError: An error occured. Device Status: (0, 2, 0, 0)
Edu-MacBook-Pro-226:~ eduard$

I have a brick now?


Sorry about that, I’m not sure what causes Device Status (0, 2, 0, 0). You’ll have to use another tool (not odrivetool) to flash the firmware. How to do that is listed here:

Thank you. I’ll give it a try, with a STLink.