St Link Utility Download

  1. Stm32 St-link Utility Download
  2. St Link Utility Software Download
Download

Download driver and software direct - https://my.st.com/content/ccc/resource/technical/software/utility/51/c4/6a/b0/e2/0f/47/e5/stsw-link004.zip/files/stsw-link004. STM32 ST-LINK Utility's primary file takes about 300.00 KB (307200 bytes) and is named STM32 ST-LINK Utility.exe. STM32 ST-LINK Utility is comprised of the following executables which occupy 876.50 KB ( 897536 bytes) on disk. 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.

This is a guide on how to manually flash the firmware using ST-Link utility.

Introduction

There are two images to be flashed in the target, one for nanoBooter and another one for nanoCLR.

  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. This will take you to our JFrog Bintray repository that holds the packages with pre-build images for several target boards. After downloading it, unzip the package contents.

  3. Connect the target board to your PC using an USB cable. Note that on most ST deveopement boards there are two micro USB connectors. To follow this guide you'll want to use the one that's providing the JTAG connection through the ST-Link debugger. In doubt, check the PCB for the correct one or the board schematic.

  4. Launch the ST-LINK Utility that you've just installed and connect to the ST board.

  5. Perform a 'full chip erase' to clear the flash.

  6. Load the nanoBooter.hex file from the package and hit the 'Program and verify' button. Make sure you tick the 'Reset after programming' check box and hit 'Start'. After the upload completes, the MCU is reset and the nanoBooter image runs. You can check the success of the operation watching for a slow blink pattern on the LED. Congratulations, you now have a board running nanoFramework's booter!

  7. Next, load the nanoCLR.hex file from the extracted package folder and hit again the 'Program and verify' button. Make sure you tick the 'Reset after programming' check box and hit 'Start'. After the upload completes, the MCU is reset and the nanoCLR image will run. This time and if all goes as expected, there will be no LED blinking. You can check if the board is properly running .NET nanoFramework by looking into the Device Explorer window in VS.