Please update OpenOCD
Hello Khockuba,
Did you just install SW4STM32 now and see the issue or it was working fine with a previous version ?
If yes, on which version it was working and are you using now the 1.14.0 version?
Can you attach the openocd log file with the error you got (add -d to openocd options in debugger tab of debug config window) ?
To know if it is a cfg file problem or if it is an openocd binary issue.
For the moment, SW4STM32 forces to use “Connect under reset” mode in the cfg files so your custom board should connect the STLink reset line to STM32 Reset input pin.
For info, all the STM32 ST boards (Nucleo, Disco or Eval) have the STLink reset line connected.
Rgds,
Laurent