2026-01-31 7:33 PM
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.
2026-01-31 11:54 PM
Hi,
set reset -> software reset , then try again.
2026-02-02 8:05 AM
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 ?
2026-02-02 8:18 AM
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.