2025-10-09 12:19 AM - last edited on 2025-10-09 12:44 AM by Andrew Neil
I'm using the stm32 board (STM32F103C8T6) the blue pill for testing. I'm just flashing a blinking led code but getting an error Target not found: No stm board found and also getting ST-Link not found after that. Can anyone help me to resolve this issue. - Attaching the screenshots for your reference.
2025-10-09 12:48 AM
Note that the Blue Pill is not an ST product, and likely contains a fake STM32.
Are you using a genuine ST-Link?
How to recognize a genuine ST-LINK/V2 versus a cloned one.
General troubleshooting guides for debugger connection issues:
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues.
2025-10-09 1:03 AM
@sambanerjee wrote:
This happens when you have specified a specific ST-Link (by serial number) in your debug setup, and that particular ST-Link is not found.
Uncheck that box.
2025-10-09 1:52 AM
Hi Andrew,
Thanks for your reply. As you mentioned, I unchecked that box and tried again. Now I'm getting an error as Target no device found. 
2025-10-09 2:07 AM
Hi,
so at first get CubeProgrammer, and connect then with the blue pill.
Show screen...what its telling.
Then we go on, to get it working.