cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. Can anyone tell me how to get started building the ST25R3911-DISCO example source? A Keil toolchain? Well that's helpful. Eclipse is preferred IDE? Thx

Ted Jackson
Senior

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.

17 REPLIES 17

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

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

Thanks. I'll take your word. I've found it difficult to pin down that answer elsewhere. Cheers.

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

Hi Ted,

here are the details for P201 pinout extracted from the ST25R3911B_DISCO schematics (available on st.com):

0693W000007D9pCQAS.jpgNote: Pin 1 identification: there is a white dot on the PCB (see the read arrow on the picture)

0693W000007DA89QAG.jpgRgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

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.

Hi Ted,

the pinout of ST-LINK/V2 20-pin is described in table 4 of UM1075. Your pinout seems correct.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

It's working now. Thanks so much, guys!