Flashing firmware

The guide here says this is how to enter DFU mode.

If it is, it doesn’t seem to work with this board. I ordered an ST-link V2 and was able to program the official firmware with this command:

openocd -f interface/stlink.cfg -f target/stm32f4x.cfg -c "program ODriveFirmware_v3.6-24V_0.5.6.elf verify reset exit"

USB control latency

Measuring the control latency with Grok by setting a command velocity and then polling the encoder until the position changes:

I get this:

Not bad. I don’t think a USB connection could really get much faster.