Skip to main content
CanisSomnolentus
Associate III
June 23, 2022
Solved

MCU type - Can one identify it?

  • June 23, 2022
  • 1 reply
  • 3260 views

Using something like STLink util or newer, command line software: Can one identify which type of STM32 MCU is connected? E.g. for use in further scripts. It doesn't help if I see it on a GUI somewhere.

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hi @Community member​ ,

    With STM32 cube programmer, you can identify which type of MCU is connected by using a command line. So, I advise you to follow this User Manual (UM2237).

    For example, the command "STM32_Programmer_CLI.exe -c port=SWD" returns the following:

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

    STM32CubeProgrammer v2.10.0

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

    ST-LINK SN : 003200324741500720383733

    ST-LINK FW : V3J9M3

    Board : NUCLEO-U575ZI-Q

    Voltage : 3.31V

    SWD freq : 24000 KHz

    Connect mode: Normal

    Reset mode : Software reset

    Device ID : 0x482

    Revision ID : Rev X

    Device name : STM32U575/STM32U585

    Flash size : 2 MBytes

    Device type : MCU

    Device CPU : Cortex-M33

    BL Version : 0x92

    Debug in Low Power mode enabled

    Kaouthar

    1 reply

    KDJEM.1
    KDJEM.1Best answer
    ST Technical Moderator
    June 27, 2022

    Hi @Community member​ ,

    With STM32 cube programmer, you can identify which type of MCU is connected by using a command line. So, I advise you to follow this User Manual (UM2237).

    For example, the command "STM32_Programmer_CLI.exe -c port=SWD" returns the following:

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

    STM32CubeProgrammer v2.10.0

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

    ST-LINK SN : 003200324741500720383733

    ST-LINK FW : V3J9M3

    Board : NUCLEO-U575ZI-Q

    Voltage : 3.31V

    SWD freq : 24000 KHz

    Connect mode: Normal

    Reset mode : Software reset

    Device ID : 0x482

    Revision ID : Rev X

    Device name : STM32U575/STM32U585

    Flash size : 2 MBytes

    Device type : MCU

    Device CPU : Cortex-M33

    BL Version : 0x92

    Debug in Low Power mode enabled

    Kaouthar

    To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.