2025-05-12 7:42 AM
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.
What should I do?
Thanks for your feedback, have a good day
2025-05-12 7:50 AM
Please post a photo of the back of your ST-LINK/V2.
Regards
/Peter
2025-05-12 7:51 AM
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.
2025-05-12 7:56 AM
@Peter BENSCH here are some pictures
@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
2025-05-12 7:59 AM
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.
2025-05-12 8:00 AM
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:
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 ?
2025-05-12 8:33 AM - edited 2025-05-12 8:34 AM
I waited for the 230V sensor to start up, then the 5V communication card, and there it was, I now have 3.3V :
Thanks
2025-05-12 8:36 AM
What target you're trying to connect to?
2025-05-12 8:55 AM
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.
2025-05-12 8:56 AM
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