cancel
Showing results for 
Search instead for 
Did you mean: 

Target no device found Error in initializing ST-LINK device. Reason: No device found on target.

LW1
Visitor

I made my own PCB, but when I connected 3V3, GND, SWDIO, and SWCLK using the ST-Link V2, the ST-Link is recognized, but my board is unresponsive. Screenshot 2025-07-29 140801.png

 

7 REPLIES 7
TDK
Super User

Is the chip oriented correctly? Pin 1 is bottom left when text is oriented normally from left to right.

MIC5504-1.8YM5-TR is a 1.8V regulator, not 3.3V.

Does ST-Link report the target voltage correctly? Show a screenshot of this area:

TDK_0-1753824505309.png

 

If you feel a post has answered your question, please click "Accept as Solution".

Thank you for your reply! Image.jpegI am very sure that the chip is oriented correctly. Yeah you're right, I don't know why I bought this LDO, but still, the ST Link 3V3 power shouldn't go through the regulator, it should directly power the chip. (the tangling trace was caused by removing the GND plane so I can show you the PCB's bottom layer)

Screenshot 2025-07-29 162339.png

I also tried pulling NRST low while pressing connect (Mode to under reset) and releasing the pin immediately after. But it didn't work.

 

TDK
Super User

Can you take a picture of the chip soldered on the board?

 

If you feel a post has answered your question, please click "Accept as Solution".

WechatIMG528.jpeg

LW1
Visitor

I just came across this video, and he briefly mentioned that ST made an update, and the small ST Link V2 is no longer supported? -> https://youtube.com/shorts/LWoxFclaius?si=fEtbUIA73EZwjpcN

I'm using this: 1,333 × 1,000

 

TDK
Super User

The knock-off ST-Link V2 has never been officially supported but tends to work. It's clearly being recognized here.

A few things could be causing issues:

  • Non-genuine STM32F103 chip. Your is almost certainly a knock-off as it has no markings. Pulled from a blue pill perhaps? Sometimes they work, sometimes not.
  • Knock-off programmer isn't working correctly.
  • Wiring isn't correct. Power seems okay but SWDIO/SWCLK could have cold solder joints or otherwise be miswired.

I'd recommend a real chip from a reputable supplier and a real programmer. They're relatively inexpensive.

If you feel a post has answered your question, please click "Accept as Solution".

My f103CBT6 does have markings, but the markings don't come in white, they are almost blended into the chip? But I assume it's legit, since I bought it from Digikey. So, based on what you've seen, does the PCB design seem alright? I will definitely use another programmer and will double check the wirings. Thank you so much.