2019-11-14 02:51 AM
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.
Solved! Go to Solution.
2019-11-14 03:10 AM
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 ?
2019-11-14 03:10 AM
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 ?
2019-11-14 05:34 AM
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.