Skip to main content
Visitor II
February 1, 2026
Question

No target found in blackpill

  • February 1, 2026
  • 2 replies
  • 254 views

Hi. I am university student and This is my first time using the blackpill for my project . I am having trouble in uploading my code to my blackpill using the stlink. I have make sure that i connected to the correct pin from the stlink to blackpill. However when i pressed uploading in keil it kept saying no stm32 target found. I try to boot to connect to programmer but it kept the same error. I have read others similar problem and tried their solution but it still wouldnt work. Please help me.

2 replies

AScha.3
Super User
February 1, 2026

Hi,

set reset -> software reset , then try again.

"If you feel a post has answered your question, please click ""Accept as Solution""."
AScha.3
Super User
February 2, 2026

no answer...

btw

"black pill"

1. you are sure, the board/cpu is ok/new ?

2. you are sure, the cpu is genuine STM - or other like GD, CKS ?

"If you feel a post has answered your question, please click ""Accept as Solution""."
Andrew Neil
Super User
February 2, 2026

Welcome to the forum.

As @AScha.3 said, the Black Pill is not an ST-Product, and might not contain a genuine STM32.

You've tagged this as STM32F1 - those are particularly prone to being fake/clone.

See this from only last week.

 

Also, what ST-Link are you using? 

See: How to recognize a genuine ST-LINK/V2 versus a cloned one; in particular, this comment.

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.