Skip to main content
chriskuku
Senior II
September 13, 2025
Solved

Where to specify the serial of the STLINK when multiple devices are detected

  • September 13, 2025
  • 1 reply
  • 536 views

I got this (since I have multiple STLINKs attached):

chriskuku_0-1757774667953.png

Where do I specify the serial number in the command line (of the gdb server) ?

Best answer by STTwo-32

Hello @chriskuku 

to select a specific ST-Link will connecting multiple ST-Link to your machine, you have to follow the last paragraph of the page 160 of the  UM2609 together with the figure 176:

STTwo32_0-1757777343739.png

Best Reagrds.

STTwo-32

 

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
September 13, 2025

Hello @chriskuku 

to select a specific ST-Link will connecting multiple ST-Link to your machine, you have to follow the last paragraph of the page 160 of the  UM2609 together with the figure 176:

STTwo32_0-1757777343739.png

Best Reagrds.

STTwo-32

 

chriskuku
chriskukuAuthor
Senior II
September 14, 2025

Thanks. I see this configuration option in the ST-LINK(ST-LINK GDB server) setup but not in the ST-LINK (OpenOCD).

STTwo-32
Technical Moderator
September 14, 2025

This option is not available in openOCD debug probe.

Best Reagrds.

STTwo-32