Skip to main content
grisom13
Associate III
September 25, 2025
Question

ST Link V2 and V3 VS STM32G0B

  • September 25, 2025
  • 2 replies
  • 771 views

Hello,

I have a STM32G0B1KBU3N MCU for my USB-C PD board. I am a new with this so learning. I am currently finished assemble my own PCB and have some issue with programming the controller. I can program controller with ST link V3-minie but have Zero luck to go connect with ST LInk v2. Is my controller supports only V3 hardware? I saw in the Programmer menu with V2 hardware there is only 4 kHz frequency and V3 hardware offers 8 kHz (same as controller internal clock) am I right? Thank you.

 

2 replies

Karl Yamashita
Principal
September 26, 2025

Show a schematic of your STM32 connections.  

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source
grisom13
grisom13Author
Associate III
September 26, 2025

Screenshot 2025-09-25 at 21.36.46.png

Screenshot 2025-09-25 at 21.37.06.png

Associate II
September 26, 2025

1. In your schematic I see no RST connection to the ST-Link 

2. Is the Jumper JP9 for 3.3V to ST-Link closed?

3. What do you mean with "St Link v2"? Is it a genuine ST-Link from ST or some fake "ST-Link v2 mini"?

grisom13
grisom13Author
Associate III
September 26, 2025

Hello,

1 - Yes, there is no RST on a schematic (didn't know its required). But the wire is added to RST pin on STM32. And here hence is a question: STM Programmer offers "Hardware reset". Is this with a manual Reset switch? Or I am missing something?

Screenshot 2025-09-26 at 09.58.47.png

 

2 - Yes I put the jumper to my diagram because I didn't know if ST link supply power. When I found out its not the JP9 jumper was closed and I can see 3.3V in "Target voltage section"

 

3 - All product come from Mouser. So yes genuine. The V2 white plastic Programmer hardware can't connect to my STM32 chip. The V3-minie that is a bare PCB - I can connect to my SMT32 controller and upload firmware. Any ideas why V2 cant do the job? Thank you 

Screenshot 2025-09-26 at 10.04.51.png

Karl Yamashita
Principal
September 26, 2025

So how did you connect the ST-Link V2 20-pin to your 4-pin header? You must have some sort of custom harness/adapter. Double check to be sure SWDIO and SWCLK are not swapped.

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source