2022-06-23 07:39 AM
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.
Solved! Go to Solution.
2022-06-27 06:47 AM
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.
2022-06-27 06:47 AM
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.