Open source version of the STMicroelectronics STLINK Tools
 
 
 
 
 
Go to file
nightwalker-87 a76f468587 [doc] Updated list of supported devices 2020-04-02 02:18:49 +02:00
.github/ISSUE_TEMPLATE
cmake fix intendation in Version.cmake 2020-03-21 21:31:12 +02:00
debian
doc [doc] Updated list of supported devices 2020-04-02 02:18:49 +02:00
etc
flashloaders
include [doc] Updated list of supported devices 2020-04-02 02:18:49 +02:00
scripts
src General Project Update 2020-03-24 21:11:38 +01:00
stlinkv1_macosx_driver
tests check if app's need for libssp. 2020-03-21 14:48:40 +02:00
usr/lib/pkgconfig
.appveyor.yml
.gitignore
.travis-lin-mingw.sh
.travis.sh
.travis.yml
.version
CHANGELOG.md Minor fixes in CHANGELOG.md 2020-03-22 00:47:39 +01:00
CMakeLists.txt check if app's need for libssp. 2020-03-21 14:48:40 +02:00
CODE_OF_CONDUCT.md
LICENSE.md
Makefile
README.md [doc] Updated list of supported devices 2020-04-02 02:18:49 +02:00

README.md

Open source version of the STMicroelectronics Stlink Tools

BSD licensed GitHub release GitHub commits Downloads Linux Status macOS Status

Recent new features and bugfixes can be found in the Changelog of this software project.

Introduction

This stlink toolset supports several so called stlink programmer boards (and clones thereof) which use a microcontroller chip to translate commands from USB to JTAG.

These programmer boards are available in four versions:

  • STLINKv1:
    • transport layer: SCSI passthru commands over USB
    • present on STM32VL discovery kits
  • STLINKv2:
    • transport layer: raw USB commands
    • present on STM32L discovery and nucleo and later kits
  • STLINKv2-1:
    • transport layer: raw USB commands
    • present on some STM32 nucleo boards
  • STLINKv3:
    • not yet supported by this toolset (but planned)

Supported hardware combinations

Currently known working combinations of programmers and targets are listed in doc/devices_boards.md.

Installation

Windows: download v1.6.0 from the releases page.

Windows pre-compiled binaries are available at http://www.emb4fun.de/archive/stlink/index.html (outdated, not recommended for use)

macOS: install from homebrew or download v1.6.0 from the releases page.

Linux:

We recommend to install stlink-tools from the package repository of the used distribution:

Other Operating Systems:

Installation from source (advanced users)

When there is no executable available for your platform or you need the latest (possible unstable) version you need to compile the toolset yourself. This procedure is explained in the compiling manual.

Contributing and versioning

  • The semantic versioning scheme is used. Read more at semver.org
  • Before creating a pull request, please ALWAYS open a new issue for the discussion of the intended new features. Bugfixes don't require a discussion via a ticket-issue. However they should always be described in a few words as soon as they appear to help others as well.
  • Contributors and/or maintainers may submit comments or request changes to patch-proposals and/or pull-requests.
  • ATTENTION: NEVER EVER use the '#' character to count-up single points within a listing as '#' is exclusively reserved for referencing github issues and pull-requests. Otherwise you accidentally introduce false cross references within the project.
  • Please start new forks from the develop branch if possible as pull requests will go into this branch as well.

License

The stlink library and tools are licensed under the BSD license.

The flashloaders/stm32l0x.s and flashloaders/stm32lx.s source files are licensed under the GPLv2+.

Current state of the project

Known missing features

Some features are currently missing from the texane/stlink toolset. Here we would appreciate any help and would love to welcome new contributors who want to get involved:

  • Instrumentation Trace Macro (ITM) Cell (#136)
  • OTP & EEPROM area programming (#202, #333, #686)
  • Protection bits area reading (#346)
  • Writing external memory connected to an STM32 controller (e.g Quad SPI NOR flash) (#412)
  • MCU hotplug (#449)
  • Writing options bytes (region) (#458)
  • Support for STLINKv3 programmer (#820)