OpenOCD error when running/debugging
So i’ve fixed my own problem incase anyone has this problem and stumbled accross this post. It was quite an easy fix. I downloaded the latest openocd release from
https://github.com/gnu-mcu-eclipse/openocd/releases
Then in system workbench I changed the debug configuration script to one provided in the OpenOCD release.
Run->Debug Configurations->Configuration Script, set to user defined and navigate too scripts/target/stm32f1x.cfg in the release downloaded and bingo it works.