2021-03-04 12:14 AM
Hello, I bought a NUCLEO-L552ZE-Q and tried to connect with STLINK Utility . But STLINK Utility rejects.
08:57:29 : ST-LINK SN : 066CFF505352716587121640
08:57:29 : V2J37M26
08:57:29 : Connected via SWD.
08:57:29 : SWD Frequency = 4,0 MHz.
08:57:29 : Connection mode : Connect Under Reset.
08:57:29 : Debug in Low Power mode enabled.
08:57:29 : Can not connect to the target!
08:57:33 : Unexpected error
I used the lastest ST-LINK Utility v4.6.0.0
Connection other boards, like STM32F4 Disco or STM324R9 Disco worked fine. Therefore STLINK Utility is basicly working
Additional strange is, that the NUCLEO-L552ZE-Q is working fine with CubeID. Programming and debugging is possible.
Therefore, at the moment, only the combination NUCLEO-L552ZE-Q + ST-LINK Utility isn't working.
I used the NUCLEO-L552ZE-Q out of the box. (No jumper modified)
Any ideas ?
Solved! Go to Solution.
2021-03-04 02:01 AM
The ST-Link Utility is a Windows only tool and still active, but the world was requesting tools for all platforms.
With the STM32CubeProgrammer STMicroelectronics therefore provides a multi-platform tool (Windows/Linux/MacOSX) for all recent and newer STM32, which also contains a CLI. You can easily replace the CLI statements in your scripts by the new ones.
Regards
/Peter
2021-03-04 12:44 AM
Hello @FKaes.1 ,
Welcome to the STM32 Community :smiling_face_with_smiling_eyes:
Are you able to connect and program it through STM32CubeProgrammer ?
Imen
2021-03-04 01:44 AM
Hello @Imen DAHMEN
>>Are you able to connect and program it through STM32CubeProgrammer ?
yes, I downloaded STM32CubeProgrammer and it is working.
Is ST-Link Utility obsolete ?
Because I'm using ST-LINK CLI in a toolchain and therefore would like to keep it.
I aslo not understand, why only L5 is not working.
10:30:58 : STM32CubeProgrammer API v 2.6.0
10:31:11 : ST-LINK SN : 066CFF505352716587121640
10:31:11 : ST-LINK FW : V2J37M26
10:31:11 : Board : NUCLEO-L552ZE-Q
10:31:11 : Voltage : 3.24V
10:31:11 : SWD freq : 4000 KHz
10:31:11 : Connect mode: Normal
10:31:11 : Reset mode : Software reset
10:31:11 : Device ID : 0x472
10:31:11 : Revision ID : Rev B
10:31:12 : UPLOADING OPTION BYTES DATA ...
10:31:12 : Bank : 0x00
10:31:12 : Address : 0x40022040
10:31:12 : Size : 32 Bytes
10:31:12 : Bank : 0x01
10:31:12 : Address : 0x40022060
10:31:12 : Size : 16 Bytes
10:31:12 : UPLOADING ...
10:31:12 : Size : 1024 Bytes
10:31:12 : Address : 0x8000000
10:31:12 : Read progress:
10:31:12 : Data read successfully
10:31:12 : Time elapsed during the read operation is: 00:00:00.009
2021-03-04 02:01 AM
The ST-Link Utility is a Windows only tool and still active, but the world was requesting tools for all platforms.
With the STM32CubeProgrammer STMicroelectronics therefore provides a multi-platform tool (Windows/Linux/MacOSX) for all recent and newer STM32, which also contains a CLI. You can easily replace the CLI statements in your scripts by the new ones.
Regards
/Peter
2021-03-04 02:11 AM
Hi @Peter BENSCH
thanks to your answer. I will try to do this.
It would be nice, if STM can add a note at the ST-Link Utility page that is probably fails with new devices and direct to the new tool.
At least, before I created this ticket, I searched the internet and didn't find something to this topic.