Showing results for 
Search instead for 
Did you mean: 

Obtain stlinkv2 serial number using command line interface

Associate II

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.



Uwe Bonnes
Principal II


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


Andrew Neil
Evangelist III

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



> 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









Christian N
ST Employee

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