# Open source version of the STMicroelectronics STlink Tools
[![BSD licensed](https://img.shields.io/badge/license-BSD-blue.svg)](https://raw.githubusercontent.com/hyperium/hyper/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/stlink-org/stlink.svg)](https://github.com/stlink-org/stlink/releases/latest)
[![Downloads](https://img.shields.io/github/downloads/stlink-org/stlink/total)](https://github.com/stlink-org/stlink/releases/latest)
![GitHub commits](https://img.shields.io/github/commits-since/stlink-org/stlink/v1.7.0/develop)
![GitHub activity](https://img.shields.io/github/commit-activity/m/stlink-org/stlink)
![GitHub contributors](https://img.shields.io/github/contributors/stlink-org/stlink)
[![CodeQL](https://github.com/stlink-org/stlink/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/stlink-org/stlink/actions/workflows/codeql-analysis.yml)
[![C/C++ CI](https://github.com/stlink-org/stlink/actions/workflows/c-cpp.yml/badge.svg?branch=testing)](https://github.com/stlink-org/stlink/actions/workflows/c-cpp.yml)
[![Linux Status](https://img.shields.io/travis/stlink-org/stlink/master?env=BADGE=linux&label=linux)](https://travis-ci.org/stlink-org/stlink)
[![macOS Status](https://img.shields.io/travis/stlink-org/stlink/master?env=BADGE=osx&label=osx)](https://travis-ci.org/stlink-org/stlink)
Recent new features and bugfixes can be found in the [Changelog](CHANGELOG.md) of this software project.
#### License
The stlink library and tools are licensed under the **[BSD-3 License](LICENSE.md)**.
## Introduction
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:
- **STLINK/V1** _[obsolete as of 21-11-2019, continued support by this toolset] \*)_
- transport layer: SCSI passthru commands over USB
- stand-alone programmer
- on-board on STM32VL Discovery boards
- **STLINK/V2**
- transport layer: raw USB commands
- stand-alone programmer
- on-board on STM32L Discovery and STM32 Nucleo boards
- **STLINK/V2-1**
- transport layer: raw USB commands
- on-board on some STM32 Nucleo boards
- **STLINK-V3**
- transport layer: raw USB commands
- stand-alone programmer (STLINK-V3SET, STLINK-V3MINI, STLINK-V3MODS)
- on-board on some STM32 Nucleo boards (STLINK-V3E)
_\*)_ **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 tool
- `st-flash` - a flash manipulation tool
- `st-trace` - a logging tool to record information on execution
- `st-util` - a GDB server (supported in Visual Studio Code / VSCodium via the [Cortex-Debug](https://github.com/Marus/cortex-debug) plugin)
- `stlink-lib` - a communication library
- `stlink-gui` - a GUI-Interface _[optional]_
## Supported operating systems and hardware combinations
Currently known working combinations of programmers and targets are listed in [devices_boards.md](doc/devices_boards.md).
Supported operating systems are listed in [version_support.md](doc/version_support.md).
## Tutorial & HOWTO
Our [tutorial](doc/tutorial.md) may help you along with some advanced tasks and additional info.
## Installation
**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](doc/compiling.md#Windows).
**macOS**:
We recommend to install from:
- [homebrew](https://formulae.brew.sh/formula/stlink) or
- [MacPorts](https://ports.macports.org/port/stlink)
Alternatively one can compile and install from source as described in our [compiling manual](doc/compiling.md#macOS).
**Linux**:
We recommend to install `stlink-tools` from the package repository of the used distribution:
**Note:** As packages distributed via the [Debian](https://packages.debian.org/buster/stlink-tools) and [Ubuntu](https://packages.ubuntu.com/stlink-tools) 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.
- Debian Linux: [(Link)](https://github.com/stlink-org/stlink/releases)
- Ubuntu Linux: [(Link)](https://github.com/stlink-org/stlink/releases)
- Arch Linux: [(Link)](https://www.archlinux.org/packages/community/x86_64/stlink)
- Alpine Linux: [(Link)](https://pkgs.alpinelinux.org/packages?name=stlink)
- Fedora: [(Link)](https://src.fedoraproject.org/rpms/stlink)
- Gentoo Linux: [(Link)](https://packages.gentoo.org/packages/dev-embedded/stlink)
**Other Operating Systems**:
- RedHat/CentOS 8: Users can install from [EPEL repository](https://src.fedoraproject.org/rpms/stlink/branch/epel8)
- FreeBSD: Users can install from [freshports](https://www.freshports.org/devel/stlink)
## 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](doc/compiling.md).
## Contributing and versioning
- The semantic versioning scheme is used. Read more at [semver.org](http://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, as pull requests will go into this branch as well.
Please also refer to our [Contribution Guidelines](CONTRIBUTING.md).
没有合适的资源?快使用搜索试试~ 我知道了~
嵌入式开发知识库,stm32开发介绍及开发问题收集
共535个文件
c:112个
h:95个
md:54个
需积分: 2 0 下载量 184 浏览量
2024-03-24
15:51:44
上传
评论
收藏 5.02MB ZIP 举报
温馨提示
硬件工程师 嵌入式开发知识库,stm32开发介绍及开发问题收集
资源推荐
资源详情
资源评论
收起资源包目录
嵌入式开发知识库,stm32开发介绍及开发问题收集 (535个子文件)
configure.ac 10KB
Makefile.am 3KB
Makefile.am 672B
Makefile.am 443B
Makefile.am 189B
Makefile.am 149B
AUTHORS 2KB
appveyor.bat 1KB
appveyor_minGW.bat 988B
appveyor_cygwin.bat 519B
mingw64-build.bat 303B
common.c 139KB
windows_winusb.c 138KB
stm32f10x_tim.c 106KB
io.c 105KB
core.c 86KB
linux_usbfs.c 76KB
darwin_usb.c 76KB
gdb-server.c 66KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 44KB
usb.c 44KB
stm32f10x_can.c 44KB
sunos_usb.c 43KB
xusb.c 38KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 35KB
descriptor.c 35KB
sg.c 35KB
stm32f10x_fsmc.c 34KB
windows_nt_common.c 31KB
chipid.c 30KB
gui.c 30KB
getopt.c 30KB
stm32f10x_spi.c 29KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
wince_usb.c 27KB
windows_usbdk.c 26KB
ezusb.c 23KB
stm32f10x_gpio.c 22KB
trace.c 18KB
stm32f10x_dac.c 18KB
openbsd_usb.c 18KB
core_cm3.c 17KB
netbsd_usb.c 16KB
flash_loader.c 14KB
semihosting.c 12KB
hotplug.c 12KB
sync.c 12KB
dpfp_threaded.c 12KB
flash_opts.c 12KB
stm32f10x_cec.c 11KB
dpfp.c 11KB
linux_netlink.c 10KB
flash.c 10KB
md5.c 10KB
fxload.c 9KB
poll_windows.c 9KB
stm32f10x_rtc.c 9KB
testlibusb.c 8KB
linux_udev.c 8KB
stm32f10x_pwr.c 8KB
stm32f10x_bkp.c 8KB
OLED.c 8KB
win32_socket.c 7KB
strerror.c 7KB
getopt.c 7KB
testlib.c 7KB
misc.c 7KB
sg.c 6KB
stm32f10x_exti.c 6KB
flash.c 6KB
stm32f10x_wwdg.c 5KB
sam3u_benchmark.c 5KB
stm32f10x_dbgmcu.c 5KB
stress.c 5KB
stm32f10x_iwdg.c 4KB
getopt1.c 4KB
info.c 4KB
stm32f10x_it.c 4KB
gdb-remote.c 4KB
threads_windows.c 3KB
hotplugtest.c 3KB
timStu.c 3KB
usb.c 3KB
001.XuanZhuanBianMa_count.c 3KB
stm32f10x_crc.c 3KB
missing.c 2KB
logging.c 2KB
poll_posix.c 2KB
threads_posix.c 2KB
000.DuiSheHongWai_Count.c 2KB
pwm_duoji.c 2KB
pwm_dianji.c 2KB
listdevs.c 2KB
004.Buzzer_Led_waterfall_light.c 2KB
pwm.c 2KB
共 535 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
MarcoPage
- 粉丝: 2765
- 资源: 2760
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Unity Terrain Adjust
- 基于 Python 的跳动爱心
- 毕设项目基于OpenPose的太极拳姿态识别系统python源码(带GUI界面)+数据集+模型+说明文档.zip
- matlab mcSquare 数据分析
- 课设毕设基于SSM的大学生校园兼职系统-LW+PPT+源码可运行
- 基于FPGA实验板的多功能数字时钟 利用Quartus实现设计与仿真(课程设计含实验报告)
- 基于CNN的人体姿态和动作识别python源码+项目说明文档.zip
- tensorflow-2.3.0-cp37-none-linux.zip
- 基于VisionTransformer的图像去雾算法研究与实现python源码+项目说明+数据集.zip
- hckdydydykddgjxjgxgj
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功