cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LinkV2 - "could not verify ST device"

jayanth0625
Associate II

My STlink V2 is not being detected. I bought an original stlink but it's still not being detected. I had a clone previously. It's frustrating why it's only happening with me. It says could not verify ST device. When I update it it says can't detect ST Link. And I don't even know how I am able to update stlink every time I connect it. Please help.

jayanth0625_0-1752689083408.pngjayanth0625_1-1752689112767.png

 

7 REPLIES 7
TDK
Super User

Can you show pictures of the device, front and back?

Is it detected with STM32CubeProgrammer?

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

Hello @jayanth0625 

Please share more details: which product, board are you using? if using ST board or custom board? 

Do you have a problem when using STM32CubeProgrammer and connecting to ST-Link?

Refer to this thread with same issue: Error in final launch sequence: Failed to start GDB server Failed to start GDB

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

I am using STMCubeIDE. My board s STM32F4VE which is a custom chinese black board. It contains STM32F407VET6 microchip. I am not able to use the debug option because my ST link is not getting verified or not being detected. I am able to upload code when using STM32 ST-Link Utility. But apart from flashing the board I am not able to do anything else.

jayanth0625_0-1752691245895.jpeg

I will look at the provided link and try it out. Thanks!

 

jayanth0625_1-1752691277947.jpeg

jayanth0625_2-1752691287118.jpeg

It is not being detected in STM32CubeIDE. I will download STM32CubeProgrammer and let you know

TDK
Super User

If it works with ST-Link Utility but not the others, most likely the programmer is fake. Can't tell from the pictures. You could look at the circuit board, might be clues there.

How to recognize a genuine ST-LINK/V2 versus a clo... - STMicroelectronics Community

If you bought it from anywhere other than a reputable supplier, it's likely fake.

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

Previous threads on  "could not verify ST device":

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=could%20not%20verify%20ST%20device

 

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.