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
Associate II

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

 

12 REPLIES 12
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".
LW1
Associate II

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".
LW1
Associate II

WechatIMG528.jpeg

LW1
Associate II

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".
LW1
Associate II

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. 

 

 

 

TDK
Super User

Yeah, it's probably legit then if it's from Digikey. Weird how the markings don't show up at all in the picture.

There's also a little mark near pins 5-6 that might indicate the magic smoke escaped somehow. Hard to tell without a better picture.

Good luck.

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

You need to do a lot better with the picture.

Perhaps a better camera, but definitely more resolution, tighter zoom and in-focus. Perhaps try macro mode. Should be a lot better with a 5+ MP cell phone camera

TBH it looks like the device may be rotated 180 degrees, and what you think is the pin one is in fact a injection mold port, and there is a more subtle detent in the top corner.

With normal readable markings the pin one mark should be in the lower left

STM32F

103CB

ARM

O <-- pin 1

If the orientation is correct, the next most likely is some kind of power issue, or connection to the wrong pins. The error suggests the part is not viable as placed / built

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..