i recently got a Odrive board but i have been having problems flashing the firmware to it.
i’ve installed gcc-arm-none-eabi, gdb-arm-none-eabi and OpenOCD on a debian machine and cloned the firmware from the madcowswe git and it compiles seems to compile just fine.
but when i try to run ‘make flash’ i fails as shown below
root@debian:~/ODrive/Firmware# make flash openocd -f interface/stlink-v2.cfg -f target/stm32f4x.cfg -c init -c reset\ halt -c flash\ write_image\ erase\ build/ODriveFirmware.elf -c reset\ run -c exit Open On-Chip Debugger 0.8.0 (2014-10-20-21:48) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html Error: session's transport is not selected. Runtime Error: embedded:startup.tcl:20: in procedure 'script' at file "embedded:startup.tcl", line 58 in procedure 'swj_newdap' called at file "/usr/share/openocd/scripts/target/stm32f4x.cfg", line 37 in procedure 'transport' called at file "/usr/share/openocd/scripts/target/swj-dp.tcl", line 26 in procedure 'ocd_bouncer' at file "embedded:startup.tcl", line 20 Makefile:185: recipe for target 'flash' failed make: *** [flash] Error 1
i’ve been googling a bit but i can’t seem to find anything remotely relevant to my issue, so i was hooping i could get some help here.