cancel
Showing results for 
Search instead for 
Did you mean: 

No Stm32 target found !

toto
Associate II

Hello All,

I'm using an ST Link V2 B 2024 41 box bought on Digikey to program a sensor, and when I want to connect I get a ‘No Stm 32 target found! ’

The software seems to see the ST box with its serial number.

toto_0-1747060653940.pngtoto_1-1747060674240.pngWhat should I do?

Thanks for your feedback, have a good day

9 REPLIES 9
Peter BENSCH
ST Employee

Please post a photo of the back of your ST-LINK/V2.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
TDK
Guru

With a target voltage of 1.10 V, your board isn't going to be running.

You will need to power the board separately. The programmer typically does not provide power.

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

@Peter BENSCH here are some pictures

SAM_0959.JPGSAM_0958.JPG

@TDK I'm on a laptop, with a fixed pc it should work? or do you need a powered usb hub? it's weird, I used to be able to program with this pc.
thanks

The computer and the usb hub are not the issue here. You have to power the board outside of the USB connection.

How is your board powered when the debugger is not present? Do that.

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

Please give details of your hardware - see: How to write your question to maximize your chances to find a solution.

Some good, clear photos could help.

Your log shows that your target has insufficient supply voltage:

AndrewNeil_0-1747061837966.png

At that voltage, the target can't run - so it can't communicate with the debugger.

 

How to solve connection errors when connecting and programming the STM32 target board.

see also: https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693

 

Did you fix your previous problem: https://community.st.com/t5/stm32cubeprogrammer-mcus/error-no-stm32-target-found-i-and-st-link-is-not-in-the-dfu-mode/td-p/693580 ?

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.

I waited for the 230V sensor to start up, then the 5V communication card, and there it was, I now have 3.3V :Capture d’écran 2025-05-12 173106.png

Thanks

What target you're trying to connect to?

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Pin 1 and/or 2 can be connected to vTarget to power the ST-LINK side buffers, and this is the voltage it measures.

This insures the viability of the SWDIO/SWCLK signals to  the MCU, but the MCU itself needs to be powered and pins viable.

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

Again, please give details of your hardware - schematics, photos, etc.

 


@toto wrote:

I waited for the 230V sensor to start up, then the 5V communication card


Remember that we know nothing about you or your project or your equipment - we have no idea what these things are other than what you clearly describe in your posts.

Are these things your own designs?

 

Have you been through these links:

How to solve connection errors when connecting and programming the STM32 target board.

see also: https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/ta-p/49693

 

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.