Based on work by DF8OE
Viewed into port from outside
----------| |----------
| 9 7 5 3 1 |
| |
| 10 8 6 4 2 |
---------------------------
Suitable Plug: Molex 87568-1073 (element14 order code 1365756)
Adafruit sell 2.54mm to 2mm patch leads (available from other resellers)
- 1 - GND
- 2 - I2C_SDA (PB11)
- 3 - I2C_SCL (PB10)
- 4 - +VDD_MCU
- 5 - MCU Switched 3.3V out to external device
- 6 - +V_Battery
- 7 - RST
- 8 - SWCLK (PA14)
- 9 - SWDIO (PA13)
- 10 - GND
RS41 STLink
------------------------------
1 or 10 GND 4
2 N/C
3 N/C
4 POWER 1
5 N/C
6 N/C
7 RESET 15
8 CLOCK 9
9 DATA 7
10 or 1 GND 4
All other pins on STLink header not connected.
When using the Adafruit patch leads it is more convenient to use
pin 10 as GND, since the 2mm ends are coupled as pairs.