How To Flash a target usign ST-Link utility

  1. Download the STM32 ST-LINK Utility from ST web site and install it in your development machine.
  2. Download a ZIP file with the firmware for the board from our web site here by clicking on the appropriate badge.
  3. Connect the target board to your PC using an USB cable.

How do I download St Link V2?

Installation instructions

  1. Download the latest ST-LINK/V2 driver.
  2. Extract the archive and run either dpinst_amd64.exe or dpinst_x86.exe depending on whether you are on a 64-bit machine or 32-bit machine. Follow the displayed instructions.
  3. You should now have successfully installed the ST-LINK/V2 driver.

Is St Link Open Source?

Open source version of the STMicroelectronics STLINK Tools. Recent new features and bugfixes can be found in the Changelog of this software project.

How do I connect to SWD?

Connecting via SWD header The easiest way to connect your development board to your debugger is by using the 4-pin SWD header, if present. This header is usually a male dupont header, but female headers are also used. The header exposes a ground pin, a +3.3V pin, a clock pin, and a data pin.

How do I download St-Link?

What is the St link V2 used for?

Description The ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontrollers. The single-wire interface module (SWIM) and JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.

Do I need to connect ST-LINK’s VDD pin?

First of all, you are right, if your board has already got a supply voltage source you do not have to connect ST-Link’s VDD pin. The second thing I would recommend you is to open the STM32F411 Nucleo board’s reference manual and look at the schematics. Especially the part where the ST-Link is connected to the controller on the board.

Why are the pins on my STM32 St-link not breaking out?

This may be the reason why these two pins were not broken out in the first place. Fortunately, this problem can be corrected using the STM32 ST-Link UTILITY. When the USB cable is first plugged in, hold down the reset button and upon release immediately select Target->Erase Chip.

How do I connect my MCU to St-link?

Connect your MCU to ST-Link just like they have connected the Nucleo’s MCU to it. As for boot configurations, there are three selectable options, easiest it to stick with the Main Flash and tie Boot0 to GND, but I do not know your requirements so it is up to you to choose. First of all thanks to everyone for their contribution.