STLINK Pinning incorrect in documentation

Hi There

I have been trying to debug my Electron for some time in Eclipse. It is a real artform to get it all hooked together…

Anyway.
https://docs.particle.io/faq/particle-tools/eclipse-debug/electron/#eclipse-install-gnu-arm-c-c-
shows the pinning to connect the Particle devices to the STLINK

I believe that this pinning is incorrect.

Here is the pinout document for the STLINK-V2 from ST
http://www.st.com/content/ccc/resource/technical/document/user_manual/65/e0/44/72/9e/34/41/8d/DM00026748.pdf/files/DM00026748.pdf/jcr:content/translations/en.DM00026748.pdf

So. I belive the pinning should be as follows.

STLINK ELECTRON DESCRIPTION
1 3V3 MCU VDD
3 GND GND
5 ------- -----------
7 D7 SWDIO
9 D6 SWCLK
11 ---------- -----------
13 ---------- ----------
15 RST NRST

Here is the (incorrect) pinning from the aforementioned Particle Link
1 3V3 MCU-VDD <----CORRECT
4 GND GND <-----CORRECT (Gnd is also on pin 4 of the STLINK)
7 D6 SWCLK <-------INCORRECT pin 7 on the STLINK is SWDIO
9 D7 SWDIO <--------INCORRECT (pin 9 on the STLINK is SWCLK

Missing nRST

Regards
Marshall

Thanks @marshall for the report! @rickkas7 would you please confirm this?

1 Like

Yes, they’re incorrect in the small table. They’re correct in the large table, and it’s actually wired the way you have changed it to in the picture.

I made the fix and the change is live in the docs now.

Sorry for the confusion,
Rick

3 Likes