cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE Debug not recognized stlink v2

MuriloCF
Associate II

Hello everyone,
I trying debug a project,bu t when I connect Scan my ST-Link in CubeIDE got wrong S/N and error when start.
In ST-Link Utility gets rigth S/N.

Any solve for this case?

I have tried ohter cable, drivers and etc...

MuriloCF_1-1690383624062.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief II

same problem see:

https://community.st.com/t5/stm32cubeide-mcu/stm32cubeide-not-finding-st-link/td-p/577346

SN "D" shows, IDE found no genuine STM chip on stlink programmer, refuses to work.

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

View solution in original post

7 REPLIES 7
Semer CHERNI
ST Employee

Hello @MuriloCF 

First let me thank you for posting.
To be able to further understand the issue, could you share :

  • The STM32CubeIDE version
  • The MCU reference and if possible a picture of it
  • Is it an ST board you are using or a custom one
  • The complete debug log from the STM32CubeIDE

KR,
Semer.

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.

Two applications can't have a connection open concurrently.

A serial number 'D' seems indicative of a clone / pirate ST-LINK.

ST-LINK Utilities has been deprecated for many years, use STM32 Cube Programmer as a better means of establishing compatibility / usability with STM32 Cube IDE

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

Hi,

  Just wondering if you solved this issue? I am having the same problem , and work with STM32CubeProgrammer, but not CubeIDE. Thanks.

TDK
Guru

Probably the "Scan" functionality is not implemented correctly on counterfeit chips. They seem to have serial-number related issues based on the posts that pop up here.

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

same problem see:

https://community.st.com/t5/stm32cubeide-mcu/stm32cubeide-not-finding-st-link/td-p/577346

SN "D" shows, IDE found no genuine STM chip on stlink programmer, refuses to work.

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

Hello @Semer CHERNI,
Thank you for reply,

My STM32CubeIDE is version 1.13.0, I'm using a custom board with STM32L151.
When I debug get this and nothing more

 

MuriloCF_2-1690391008286.png

 

MuriloCF_0-1690390425242.png

 

 

Hello @Tesla DeLorean,
Thank you for reply,
I openned aolne each application, the image i put together just to show.
and thank you for the tip about Programmmer.