This is first of many upcoming tutorial articles on STM32 microcontrollers. I am learning and with them I will be sharing what I learn. In this article I will try to explain how to install System Workbench for STM32 or SW4STM32 short. Just a reminder, I was installing this over my previous installation, so there might be some differences from your installation.
First you need the software. You can find it on this link: http://www.openstm32.org/HomePage
Software is FREE but you need to be logged in to download it, so you need to register and login. There is link in the text.
After login it will take you to download area. If not, click home on left side and then find link to download area in the text
Click on the version you need for your operating system and store it somewhere where you will find it later. I use windows 7 64bit so I need the install_sw4stm32_win_64bits-latest.exe as this is always the latest version available. You might need other if you have different operating system.
After downloading start setup. You are greeted with this window:
Click Next and proceed to next window.
Read license agreement and accept it. Then click on Next.
Here you select where the software will be installed. It is best to just leave it as it is and click Next.
A popup window tells you that new folder will be created. Just click Ok. If you have previous version installed, this window will let you know that you will be overwriting the previous version.
On this windows, setup will show you the summary of software to be installed. Just click Next.
On this window there are a few more things that can be set. You can have (or not) a shortcuts in the Start-Menu, you can select to have (or not) a link to System workbench on Desktop… It is best to just click Next.
Here on this window is last summary before changing your system. Click Next if everything looks OK.
If you see this window with the bars full you are on the right track and near the finish. Click Next.
Now you should see this window which will instal drivers for ST-LINK. Just click Next (it is starting to become boring 🙂 ).
There might be some steps before this window. I was reinstalling this for the tutorial, so I am not sure about steps in between when fresh installing, if needed contact me and let me know and I will delete and reinstall drivers to see the steps here. You must get to this window and there must be green check marks on left and Ready to use on the right. Click Finish to close window (I live in Slovenia so the button label is different from English).
After clicking Finish on previous windows it will close and you will see this window. Just click Next.
We are finally finished. Just click Done and you have a nice new FREE software for your favourite microcontroller. When you will first start SW4STM32 it will ask you for location of Workspae. I advise you to make a directory for STM32 programming, tell SW4STM32 location to this folder and check the box saying use this location as default workspoace. It will soon be time for Blinky.