I started learning STM32 using Blue Pill boards because they are cheap and everywhere. What I expected was a simple way to get into embedded development. What actually happened was inconsistent behaviour, missing features, and hours lost debugging hardware I could not fully trust.
After digging deeper I found that many Blue Pill boards on the market are clones. Some work. Some partially work. Some fail in strange ways. The problem is you often do not know which one you have.
So I made a simple decision. I bought an official STM32 Nucleo board from STMicroelectronics. Since switching, the ST Link issues disappeared completely.