I use this STLink

- 20231008_143106.jpg (89.28 KiB) Viewed 46940 times
and it works fine with Cubeprog and CubeIDE.

- stlink.jpg (49.93 KiB) Viewed 46940 times

- cubrprog.jpg (92.36 KiB) Viewed 46940 times
I already forgot where exactly on Github there are instructions on how to do this.