Skip to main content
Associate
Oct 9, 2025 7:19 AM UTC
Question

Blue Pill - Error: Target not found

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. -Screenshot (18).pngScreenshot (19).png Attaching the screenshots for your reference.

This topic has been closed for replies.

4 replies

Andrew Neil
Super User
Oct 9, 2025 7:48 AM UTC

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.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
Oct 9, 2025 8:03 AM UTC

@sambanerjee wrote:
AndrewNeil_0-1759996682258.png

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.

AndrewNeil_2-1759996986914.png

Uncheck that box.

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
Oct 9, 2025 8:52 AM UTC

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. Screenshot (20).png

AScha.3
Super User
Oct 9, 2025 9:07 AM UTC

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.

 

If you feel a post has answered your question, please click on " Best Answer ".