I had been having weird issues with OpenOCD on some known good hardware but a new project. Contrary to usual I made a STMCube project with a space in the name which results in a project that has build products with names with spaces.
Everything seems to build ok but OpenOCD launch stuff has problems.
Unfortunately renaming the project to fix it (build products are based on project name) fails with other problems.
It’s only a simple project. not a big deal for me, but I’d avoid it if you can...