cancel
Showing results for 
Search instead for 
Did you mean: 

ST-Link utility fails to reset device after programming

Kraal
Senior III

Hi everyone,

I have a problem with the ST-Link V2-1 that are embedded on the nucleo boards. I use the ST-Link utility CLI as an external tool in Atollic TrueStudio to program my nucleo boards. However after the programming operation finishes, the CLI cannot reset the MCU. I tried from the command line and the result is the same.

I connect under reset (with hardware reset) to the MCU. The connection to the MCU happens all the time, no problem programming at all. The cli version is 3.5.0.0. I believe I did not have this problem with the previous version of the utility...

Has anybody experienced this behaviour ? Did anybody has a fix for it ?

Also this problem does not exist with the ST-Link V2 programming pod.

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions
Mike_ST
ST Employee

1) Please make sure the nucleo ST-Link firmware is up to date.

2) If you can, move to STM32CubeProgrammer. It has CLI as well.

3) What is your command line ?

4) What is you MCU ?

View solution in original post

2 REPLIES 2
Mike_ST
ST Employee

1) Please make sure the nucleo ST-Link firmware is up to date.

2) If you can, move to STM32CubeProgrammer. It has CLI as well.

3) What is your command line ?

4) What is you MCU ?

Kraal
Senior III

Hi Mike,

Thank you for replying.

1) Yes it is up to date V2J34M25

2) Tried it again today and it was both faster and could reset the MCU after programming (compared to ST-Link Utility)

3) -c SWD UR -ME -P whatever.hex -V -Rst

4) F042 and F072

So I will use the CubeProgrammer for the time being, but I don't understand why the ST-Link Utility has regressed to the point where it does not support this anymore...

Best regards.