Skip to main content
Associate II
April 10, 2024
Solved

Debug problem with clone st-linkv2

  • April 10, 2024
  • 6 replies
  • 5976 views

Hi everyone!

I use stm32f103c8t6 and clone st-linkv2 when i try to debug my codes with stmcubeide i had a lot of errors. Like connection error or debug path etc. I cant solve it. When i use MDK-ARM code is working but i cant get any data. Please help!

This topic has been closed for replies.
Best answer by STTwo-32

For clone products, we can't garantie anything. I suggest you to contact one of our distributors (you can find them using the filters on this link) and get genuine products. 

Best Regards.

STTwo-32 

6 replies

STTwo-32
ST Technical Moderator
April 10, 2024

Hello @AnilKose 

To have a working product. You just have to buy genuine STM32 MCU and ST-LINK.

Best Regards.

STTwo-32 

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.
AnilKoseAuthor
Associate II
April 10, 2024

I cant find geniune st-link stock anywhere

AScha.3
Super User
April 10, 2024
"If you feel a post has answered your question, please click ""Accept as Solution""."
AnilKoseAuthor
Associate II
April 11, 2024

I live in Turkiye and i cant find in my city i mean that. 

STTwo-32
STTwo-32Best answer
ST Technical Moderator
April 11, 2024

For clone products, we can't garantie anything. I suggest you to contact one of our distributors (you can find them using the filters on this link) and get genuine products. 

Best Regards.

STTwo-32 

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.
AnilKoseAuthor
Associate II
April 11, 2024

I dont have much time for this project so i cant wait for shipment.

mƎALLEm
ST Technical Moderator
April 11, 2024

Hello @AnilKose ,

As ST we cannot support "cloned" products. Maybe you need to find an answer somwhere on the net or contact the manufacturer?

Many of STM32 users here in the community and outside faced issues with a such contrefeit products including cloned/copied STM32 chips.

Thank you.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
AnilKoseAuthor
Associate II
April 11, 2024

Thank you so much guys. I see i don't research enough. I'm gonna buy a geniune parts.

Andreas Bolsch
Lead III
April 12, 2024

Indeed, it's not nice to use clones. But anyway as you're in a hurry: I came across a whole batch of clones which had 100 Ohms series resistors in SWCLK and SWDIO lines (a bit high, but not the primary obstacle) and with 1k2 Ohm pull-down and pull-up on SWCLK and SWDIO, respectively. Removing the 1k2 pull-down on SWCLK cured the problem.

https://www.mikrocontroller.net/topic/515218

The symptom was unreliable connection, sometimes ok for a few seconds, then breaking reapeatedly, parity errors ...

So, check for sensible resistor values.

Andrew Neil
Super User
April 12, 2024

Indeed, to be fair, I have used clones in the past and they have worked.

Another thing to beware of is that clones which look identical might have different pinouts!

AndrewNeil_0-1712911906657.png

AndrewNeil_1-1712911920183.png

 

Addendum:

See also: https://community.st.com/t5/stm32-mcus/how-to-recognize-a-genuine-st-link-v2-versus-a-cloned-one/tac-p/703663/highlight/true#M965 

And some users have reported that the RST (Reset) does not work for STM32 (only STM8):

https://community.st.com/t5/stm32-mcus-boards-and-hardware/no-swd-target-connection-with-stm32f103-on-custom-pcb/m-p/733016/highlight/true#M22028

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.
BarryWhit
Lead
August 18, 2024

Clones (I mean of the type shown in the pictures andrew posted) also do not provide a SWO pin (without modding) needed for "Serial Wire Viewer" (SWV) debug functionality with CubeIDE, which is a very useful feature to have during development.

"- If someone's post helped resolve your issue, please thank them by clicking ""Accept as Solution"".- Please post an update with details once you've solved your issue. Your experience may help others."