Installation problem Openocd on linux for STM32 processors
I installed openocd for debugging STM processors according to this blog: https://www.carminenoviello.com/2015/07/13/started-stm32f746g-disco/
(Building OpenOCD).
It worked fine on my old workstation, as it did on my laptop. On my new workstation I can compile and install openocd. But if I want to start openocd:
openocd -f '/path/to/stm32f7discovery.cfg'
I get a error:
/usr/local/bin/../share/openocd/scripts/target/stm32f7x.cfg:155: Error: invalid command name "stm32f7x.dap"
in procedure 'script'
at file "embedded:startup.tcl", line 60
at file "/home/ARM_LINUX/stlink3/openocd/tcl/board/stm32f7discovery.cfg", line 12
at file "/usr/local/bin/../share/openocd/scripts/target/stm32f7x.cfg", line 155
Does anyone know how I can fix this?