2021-01-13 01:01 PM
I've been working successfully with the STM8 MCUs, using ST-LINK, building, debugging. But I so far can't figure out how to get started building for the STM32L4x6, which hosts the ST25R3911-DISCO board. Can't even pin down an IDE yet.
Solved! Go to Solution.
2021-01-28 07:30 AM
I've seen the same graphics of individual connectors. The first is a simple pin-for-pin (pins 1-10) compatible (20-Pin Cortex Debug + ETM Connector). The second is much less intuitive (20-Pin ARM Standard JTAG Connector). Can you say with confidence which configuration applies for ST-LINK V2? I'd hate to design, photolith, etch, solder and test... the wrong one. Lol
2021-01-28 08:27 AM
Hi Ted,
I am very confident that STLink V2 and most other JTAG probes are using the standard ARM 20 pin normal pitch (the third one). The connector on our board is the first one, the 9/10 pin Cortex-M. That's why we are using those special adapters.
Regards, Ulysses
2021-01-28 05:36 PM
Thanks. I'll take your word. I've found it difficult to pin down that answer elsewhere. Cheers.
2021-01-28 06:10 PM
Can you verify this please:
10-pin SWD on DISCO 20-pin on ST-LINK/V2
VTref 1 ---------- 1 VCC
SWDIO/TMS 2 ---------- 7 SWDIO/TMS
GND 3 ---------- 4-20 GND
SWCLK/TCK 4 ---------- 9 SWDCLK/TCLK
GND 5 ---------- 4-20 GND
SWO/TDO 6 ---------- 13 SWO/TDO
---/NC/key 7
TDI 8 ---------- 5 NC/TDI
NC 9 ---------- 4-20 GND
nRESET 10 -------- 15 RESET
2021-01-29 01:04 AM
Hi Ted,
here are the details for P201 pinout extracted from the ST25R3911B_DISCO schematics (available on st.com):
Note: Pin 1 identification: there is a white dot on the PCB (see the read arrow on the picture)
Rgds
BT
2021-01-31 09:01 AM
I've seen that. Thx. But can you verify my pinout, please? It's unclear whether the Cortex or the ARM pin-out is appropriate between the DISCO 9 and the ST-LINK/V2 32. You indicated with confidence that is the ARM configuration. Thx.
2021-01-31 11:42 AM
Hi Ted,
the pinout of ST-LINK/V2 20-pin is described in table 4 of UM1075. Your pinout seems correct.
Rgds
BT
2021-02-02 09:23 AM
It's working now. Thanks so much, guys!