Recent new features and bugfixes can be found in the Changelog of this software project.
The stlink library and tools are licensed under the BSD-3 License.
The source files stm32l0x.s and stm32lx.s found in the subdirectory /flashloaders/
are licensed under the General Public License (GPL v2+).
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)
Currently known working combinations of programmers and targets are listed in devices_boards.md.
Our [tutorial.md](doc/tutorial.md may help you along with some advanced tasks and additional info.
Windows:
Please compile and install from source as described in our compiling manual.
Long awaited binaries will be available soon...
macOS:
We recommend to install from:
Alternatively one can compile and install from source as described in our compiling manual.
Linux:
We recommend to install stlink-tools
from the package repository of the used distribution:
- Debian Linux: (Link)
- Ubuntu Linux: (Link)
- Arch Linux: (Link)
- Alpine Linux: (Link)
- Fedora: (Link)
- Gentoo Linux: (Link)
Other Operating Systems:
- RedHat/CentOS 8: Users can install from EPEL repository
- FreeBSD: Users can install from freshports
- OpenBSD: Users need to compile and install from source as described in our compiling manual.
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.
- 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.
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)