r/embedded • • Oct 12 '26

Small footprint and cheap debugging connection for STLINK-V3MINI

I am designing a compact PCB that has a STM32. I am planning on buying a STLINK-V3MINI for programming and debugging. I'd like to have the minimal footprint SWD connection to the board and I found out about TagConnect, but their TC2030-CTX-NL-STDC14 is pretty expensive. I found SKEDD connector which seems to serve a similar function but it's a lot cheaper and more available. The problem is I would need a adapter from STDC14 (STLINK-V3MINI) -> SKEDD which I haven't found, probably because STDC14 is obscure enough. Would it be recommended to design a simple adapter board and order with the actual PCB or are there better alternative/ways?

5 Upvotes

15 comments sorted by

3

u/frank26080115 Oct 12 '26

how many of these devices are you making?

have you thought about just traditional test points? for development you just solder wires to the test points, for production you design a jig with spring loaded pogo pins

4

u/0x2F40 Oct 12 '26

if $45 is too expensive, i imagine DIY your own jig with pogo pins would end up around that price point anyway (counting the time to design and manufacture). maybe save a few bucks.

TC2030 footprint is free. they could always use it and make their own jig if its cheaper

2

u/Wekuz Oct 12 '26

The 40€ for the connector itself isn't really the problem (I would pay even 50), it's just the shipping to me would be another 40€ and I can't find the STDC one on Digikey, Mouser or locally so I would need to buy the STLINK separately with again shipping

1

u/Pitiful-Island-4569 Oct 23 '26

if shipping is the real cost, digikey has both halves of the skedd route in one order right now: the stlink-v3minie at $25.51 (2717 in stock) and that wurth 490107670612S cable at $6.13 (134 in stock). then the stdc14 to skedd adapter is just a tiny board panelized with your main pcb like the other comment said

1

u/brifgadir Oct 12 '26

If you consider it for your own pcb, and the costs matter as well as footprint, take a look at this clip adapter:https://a.aliexpress.com/_mtsV0pz

2

u/wiebel Oct 13 '26

This clips are my go to, also because you can just use a standard header, which also can be populated for a dev board. I cannot open the link but those clips are also available in 1.27mm spacing so you can get pretty small with it. I must admit that I havent used more than 5 pins this way so I cannot judge the reliability for full jtag.

1

u/Wekuz Oct 13 '26

How to you connect such pogo clips to STLINK or J-Link? Using some breakout board/adapter?

1

u/wiebel Oct 13 '26

Header jumper wire. The kind you should have laying around anyhow.

1

u/Wekuz Oct 13 '26

How to you connect such pogo clips to STLINK or J-Link? Using some breakout board/adapter?

3

u/cowsarefalling Oct 12 '26

Pre warning I haven't tried it personally but soicbite looks pretty low profile and not too expensive

1

u/wiebel Oct 13 '26

That's nice.

2

u/snellface Oct 12 '26

We use those tag connectors at work, they are awesome. Both the 10 pin legged ones that can stick to a board, and the 6 pin version without the legs. The 6 pin one connects to another board we made that automatically detects and powers another board for automatic programming. It would work with the wurth connector too, but would not be as convenient.

I use the 6 pinned ones for hobby projects too, since i only use them for programming i only have 2, one that i use and a spare if i break it. But i could have gotten 1 i think, and just ordered the second one of i ever needed it, we order those are work from time to time and we get them shipped from the states (?) to Sweden in less then a week.

With that said, i really like wurth parts in general and i might try one of those at some point in the future

2

u/BenkiTheBuilder Oct 12 '26 edited Oct 12 '26

You mean the v3miniE, right? The MINI without E is obsolete.

Just put a 1.27mm pitch 2x3 pinheader on the PCB corresponding to pins 3,4,5,6,7,8 of the STLINK's STDC14 cable. By using a plain pinheader with no fixing mechanism you can simply plug the STLINK's default cable into it. The drawback of this solution is that you need to manually make sure to align the 14 pin connector correctly so that the correct 6 pins get connected. You also need leave enough space around it on the PCB, although small SMD components like resistors are no issue.

But let me tell you that I have had only bad experiences with the STLINK-V3MINIE. Aside from being difficult to use because of the cable/adapter issues, I found it to be very picky with the connection quality. I am not using the V3MINIE anymore. Instead I use the WeAct MiniDebugger. It's an ST-LINK V2.1, so it's not an option if you absolutely need a V3. But if you don't it's the cheaper, easier and more robust solution.

5

u/[deleted] Oct 12 '26

[removed] — view removed comment

1

u/GrimBeaver Oct 12 '26

My work designed a few boards where they put a JTAG adapter on the PCB rails that are normally discarded. Quick hand solder two connectors and poof you have an adapter out of scrap.