

hex file, each time you want to program your microcontroller. This is all there is! Now you don’t need to switch between application and reload. If everything is ok, you should see output in console window at the bottom of TrueSTUDIO: Now to program our microcontroller from TrueSTUDIO using this configuration, we need to click on Run -> External Tools -> select one of the configurations (in cas below it is RFM12B_BluPil_001):Īnd click on configuration we want to run. You can also run this configuration here before closing. there exists also -Run, but this one does not work here, actually it blocks TrueSTUDIO because our clone ST-LINK can’t perform this operation.-Rst -> tells ST-LINK CLI to reset our microcontroller after programming.


CLI (Command Line Interface) for ST-LINK Utility.

But recently I found new shorter solution for this. And each time you need to load new program into utility and connect to target and program it. If you are using some ST-LINK clone or you are just using SWDIO and SWDCLK to program STM32 microcontroller, you need to use ST-LINK Utility. In this article I will explain how to program STM32 microcontroller directly from TrueSTUDIO using ST-LINK clone we made in previous article.
