cancel
Showing results for 
Search instead for 
Did you mean: 

ST link v3set unable to recognize anything after connected to USB

NEdom.1
Associate III

I started to use this stlink v3set since year 2023. All works well until recently it get offline and reconnected immediately sometimes. The red light flashes several times then stays on after connect to USB. The STLINK_V3S disk is opened in an explorer.

The firmware for this programmer set is V3J15M7B5S1. I tried to downgrade it to V3J15M6B5S1 using CubePrg but with no luck.

NEdom1_1-1730444139802.png

 

 

Whenever downloading code in STM32CubeIDE, I get this error message:

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

Anyone could help? Thanks

Btw, I bought a J-link EDU to replace this malfunctioned stlink v3set just in case that it could be fixed.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

It could be something related to your target not to the ST-LINK. Did you try it with another target board?

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.

View solution in original post

4 REPLIES 4
SofLit
ST Employee

Hello,

It could be something related to your target not to the ST-LINK. Did you try it with another target board?

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.
Ozone
Lead II

As said, consider the target your STLinkv3 is attached to has some problems.
I once had an application which I had to power externally, the STLink could not supply enough current and bailed out.

Segger has a JLink firmware for internal STLinks for free download on its website, I think it supports V3 as well.
And this firmware is not a one-way street, you can go back to ST-Link firmware later.
You could check if this JLink firmware behaves better.


@NEdom.1 wrote:

Whenever downloading code in STM32CubeIDE, I get this error message:

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


Please show the full connection log - see:

https://community.st.com/t5/stm32-mcus-boards-and-hardware/st-link-clone-connects-using-st-link-utility-but-not/m-p/737753/highlight/true#M22303

But what you showed suggests that the problem is between the ST-Link and your target device.

So, as others have said, probably an issue with your target and/or connections - rather than the ST-Link itself.

Have you added low-power, and/or disabled/reassigned the SWD pins in your target?

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

 

Thank you, Andrew.

Finally, I got the problems fixed by re-plug the USB connectors.

The target is on low power mode and I press and hold down the reset button while starting flashing. But due to the reliability USB connections, just got some luck on success flashing the MCU device.

I plan to reinstall my whole desktop a new OS and drivers. See if the USB connections problems gone.