Debug problem with clone st-linkv2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 1:27 PM
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!
Solved! Go to Solution.
- Labels:
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-11 7:09 AM
I'm in the UK. I've never lived in a city here were I'd be able to just pop into a shop and buy something like an ST-Link off the shelf.
Surely, you must be able to find a distributor where you can order online for next-day delivery?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-11 7:12 AM
I will contact with the links below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-12 1:37 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-12 1:52 AM - edited ‎2024-10-18 7:27 AM
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!
Addendum:
And some users have reported that the RST (Reset) does not work for STM32 (only STM8):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-18 9:54 AM - edited ‎2024-08-22 9:38 AM
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.
- Please post an update with details once you've solved your issue. Your experience may help others.

- « Previous
-
- 1
- 2
- Next »