ST-Link Utility Error: “Can not connect to target!” — Blue Pill; Clone ST-Link
Hello,
I'm facing an issue while trying to program my WeAct STM32F411CEU6 board using a genuine ST-Link/V2 programmer via SWD interface. The ST-Link firmware version is V2J38S7 and the target voltage is detected as 3.14V.
However, every time I attempt to upload code (via STM32CubeIDE or ST-Link Utility), I get the following error:
"No STM32 target found" or
"Cannot connect to target. Please select 'Connect Under Reset'..."
I’ve verified the following:
SWDIO is connected to PA13, SWCLK to PA14, GND and 3.3V connected properly.
NRST pin is also connected from ST-Link to MCU.
BOOT0 is set to GND.
Tried both normal and "Connect Under Reset" modes in ST-Link Utility.
Reduced SWD frequency to as low as 4kHz.
Tried pressing and holding RESET during connection attempts.
Despite all this, the debugger still fails to connect. The device is detected on PC and ST-Link firmware is up to date. Could this be a firmware protection (RDP), hardware lock, or some issue with the board itself?
Any help or suggestions would be highly appreciated.
Thank you!


