The next thing that needs to be installed is the device driver to setup this programmer. This is the programmer that will be used to flash the firmware to the microcontroller.
First you’ll need to find the driver on the ST-link website. It is called the STSW-LINK003. You can find it on the website or google it.
the name of the file and the top of the page will look like this:
Scroll down to the download link and download. .
Open the zip folder.
You will find the usb driver file in that zip folder. Copy that file into a folder you can easily access like the desktop.
This is an application that will install the ST-Link driver to your computer.
Run the program to start the installation. Click “next” to confirm that the ST-Link driver will install on your computer.
Confirm the location that the ST-Link driver files will be installed on your computer. If you would like the files to be located elsewhere, click the Change button and select the folder you wish the files to be located.
Click install to finish the installation of the ST-Link driver.
Insert your ST-Link programmer into your USB port.