Skip to main content
JKucz.1585
Associate II
Apr 1, 2024 10:06 PM UTC
Question

Obtain stlinkv2 serial number using command line interface

Is it possible to obtain the stlinkV2 serial number using the command line tool?  I would like to read it and verify it matches the expected programmers serial number.

 

 

This topic has been closed for replies.

3 replies

Uwe Bonnes
Chief
Apr 2, 2024 9:35 AM UTC

 

> blackmagic -l
Available Probes:
 Name Serial # Manufacturer Version
 1. STM32 STLink 54FF6D067871575154311267 STMicroelectronics ---
​

 

Andrew Neil
Super User
Apr 2, 2024 10:00 AM UTC

If you just run the command line tool, it gives you the list of options:

AndrewNeil_0-1712051964402.png

eg, 

> ST-LINK_CLI -list
STM32 ST-LINK CLI v3.6.0.0
STM32 ST-LINK Command Line Interface

--- Available ST-LINK Probes List ---

ST-LINK Probe 0:
 SN: 066DFF353638425043092643
 FW: V2J44M0

ST-LINK Probe 1:
 SN: 52FF6E066767564811211767
 FW: V2J42S7

----------------------------------

>

 

 

 

 

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Christian N
ST Employee
Apr 2, 2024 4:12 PM UTC

Hello JKucz.1585,

Thank you for contacting STMicroelectronics.

 

Your post was escalated to ST Online Support Team for additional assistance.

 

Kind Regards,

Christian ST Support