2025-02-03 07:32 AM
I have made a PCB with the STM32C011F6P6 on it and am trying to program it via an ST-LinkV2. While trying it out yesterday, it connected just fine with the cube programmer. Now I am trying to do the same thing again, but both the cube programmer and the cube ide tell me that they can't connect.
I have already upgraded the firmware via "stsw-link004".
Does someone have an idea what might be causing this?
Schematic of my MCU wiring:
2025-02-03 07:44 AM
Hello @DavidL_
First, stsw-link004 is obsolete. So, please make sure to use the STM32CubeProgrammer last version (V2.18.0).
Also, could you please share a picture of your ST-Link. It may be a Clone. More details on this article: How to recognize a genuine ST-LINK/V2 versus a clo... - STMicroelectronics Community
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.
2025-02-03 07:47 AM - edited 2025-02-03 07:53 AM
in CubeProgrammer:
set mode: normal
+ reset: software reset
-- then try again + show result.
++
put a cap (100nF) on rst to GND !
2025-02-03 07:49 AM
Seems to be the same error.
2025-02-03 07:50 AM
I don't have access to an original one, the one I have access to is this:
2025-02-03 07:54 AM
Unfortunately, we can't guarantee anything about a Clone ST-Link. So, I suggest you command a new genuine one if you are looking for good working performance.
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.
2025-02-03 07:56 AM
But still pic shows hw reset:
++
on CPU: put a cap (100nF) on rst to GND !!!!!!!