cancel
Showing results for 
Search instead for 
Did you mean: 

Blue Pill - Error: Target not found

sambanerjee
Visitor

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.

4 REPLIES 4
Andrew Neil
Super User

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

@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.

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

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".