2019-04-28 03:24 AM
Hello
Familiar with Kinetis of NXP, I start with the STM32.
I am looking for the ST-LINK/V2 to program small Cortex M4, with a small connector (SWD).
ST-LINK / V2 has a 20pins cord with a 2.54 pitch. I can not find how it should be used with a small SWD connector.
Is there a standard adapter for linking a 20-pin ST-LINK / V2 to a small standard SWD connector? Is there a reference for this adapter ?
I only see DIY for that...
Thanks in advance
2019-04-28 04:28 AM
I discover the STLINKv3...
MB1441.CN1 provide SWD with 1.27mm pitch connector and a flat cable "ARM10-compatible connector" , is this the solution to my problem?
If so, how does a 10-wire flat cable connect to a 14-pin connector ?
Thanks
2019-04-28 04:59 AM
This is a solution. However STM software only supports STM32. Otherwise you need to look at OpenOCD, pyOCD or https://github.com/UweBonnes/bl*ckm*gic/tree/stlinkv2 (*->a)
2019-04-28 05:11 AM
Olimex had adapters when I first started to use them, and I recall Segger offering them.
2019-04-28 05:36 AM
https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/
2019-04-28 06:46 AM
Thanks for your answers.
I am looking for an official solution, completely integrated. In first, i am therefore not interested in openX or magicY.
But at the same time there is no official solution to connect a SWD 10 points with ST-linkV2 :(
The STlinkV2 that equips the nucleo card is it the same as that found in the ST link V2 in a box ?
It's almost easier to rip this pod than to add an adapter to ST linkV2.
Or ST link V3 as you confirm that it is a solution... how does a 10-wire flat cable connect to The 14-pin connector of The V3 board ?
It would be more serious than a STlink based on a nucleo.
Thanks
2019-04-28 07:17 AM
>>I am looking for an official solution, completely integrated.
It is just a wired translation, the Olimex and Segger solutions, are pretty simple. If I crack open my Keil U-Link there is a 10-pin header connector.
https://www.amazon.com/Ailavi-Standard-Interface-Spacing-Adapter/dp/B079NWPVNK
>>how does a 10-wire flat cable connect to The 14-pin connector of The V3 board ?
The V3 board comes with a number of cables, the SWD feed take the 10 centre wires, and the two outside pairs with the additional functionality don't connect. The target side end has a 10-pin connector on it.
There is a 14-to-14-pin cable also. On the target board you can populate a 10 or 14-pin connector.
2019-04-28 07:48 AM
SWD means 4 wires, GND, VDD, SWD and SWDIO, wire jumperable.
2019-04-28 08:02 AM
Okok
so I can either use :
>ST-Link V3 with standard 10-wire flat cable (and standard 10-pin SWD connector)
>ST-Link V3 with 14-wire flat cable, taking advantage of the integrated VCP
>STlink V2, V3 or any other JTAG prob with a standard 10-pin SWD adaptator (olimex for exemple)
>STlink V2, V3 or any other with a home connector just taking the pins of the SWD (STlinkV3 if I want VCP feature)
I'm right ?
Thanks
2019-04-28 08:08 AM
The 14 wire cable will get you the USB VCOM port included (non generic, that's where for example the printf() are routed like a console during debug.
There is TAGCONNECT adapter for high volute programming: no connector on the target PCB (cheap), using POGO contacts only Of course cable is more xpensive....
Shouldn't take much time to find JTAG adapters on Amazon or Aliaba stores if the need is quite generic.