Skip to main content
Associate
October 9, 2025
Question

Blue Pill - Error: Target not found

  • October 9, 2025
  • 2 replies
  • 329 views

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.

2 replies

Andrew Neil
Super User
October 9, 2025

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
October 9, 2025

@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
October 9, 2025

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
October 9, 2025

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 ""Accept as Solution""."