cancel
Showing results for 
Search instead for 
Did you mean: 

MCU type - Can one identify it?

CanisSomnolentus
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.