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.
stlink is an open source toolset to program and debug STM32 devices and boards manufactured by STMicroelectronics. It supports several so called STLINK programmer boards (and clones thereof) which use a microcontroller chip to translate commands from USB to JTAG/SWD. There are four generations available on the market which are all supported by this toolset:
*) Note: Support for the STLINK/V1 on macOS is limited to 10.14 - 10.15. Due to the deprecation and removal of macOS Kernel Extensions (KEXT) there will be no support for this programmer on macOS 11 or any later version.
On the user level there is no difference in handling or operation between these different revisions.
The STlink toolset includes:
st-info
- a programmer and chip information toolst-flash
- a flash manipulation toolst-trace
- a logging tool to record information on executionst-util
- a GDB server (supported in Visual Studio Code / VSCodium via the Cortex-Debug plugin)stlink-lib
- a communication librarystlink-gui
- a GUI-Interface [optional]
Currently known working MCU targets are listed in devices_boards.md.
A list of supported operating can be found in version_support.md.
Our tutorial may help you along with some advanced tasks and additional info.
Windows:
As of Release v1.6.1 stand-alone Windows binaries are made available (again) on the release page of the project.
Please ensure to select the correct version for your system (i686 or x86_64). The archive file can be unzipped to any desired location as it does not contain any hardcoded paths. However we suggest to move the unzipped application folder to C:\Program Files\
on 32-bit systems and to C:\Program Files (x86)\
on 64-bit systems (the toolset is 32-bit).
Alternatively one may compile and install from source as described in our compiling manual.
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:
Note: As packages distributed via the Debian and Ubuntu repositories differ from our self-maintained deb-package, we recommend to use the latter instead (see link below). It provides the opportunity to handle and fix user-reported package issues directly within the project and is not redundant to any limitations deriving from external maintenance guidelines.
Other Operating Systems:
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.
Please also refer to our Contribution Guidelines.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。