Skip to main content
Graduate
April 1, 2024
Question

Obtain stlinkv2 serial number using command line interface

  • April 1, 2024
  • 3 replies
  • 1800 views

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

    Graduate II
    April 2, 2024

     

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

     

    Super User
    April 2, 2024

    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
    
    ----------------------------------
    
    >

     

     

     

     

     

     

    ST Employee
    April 2, 2024

    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