Command-line tool
stlink
brew/stlink
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
STM32 discovery line Linux programmer
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install stlink
macOS
brew install stlink
Linux
brew install stlink
Read 4096 bytes from the device starting from 0x8000000
st-flash read firmware.bin 0x8000000 4096
Write firmware to device starting from 0x8000000
st-flash write firmware.bin 0x8000000
Erase firmware from device
st-flash erase
Related command-line tools
- stm32flash
Open source flash program for STM32 using the ST serial bootloader - dfu-programmer
Device firmware update based USB programmer for Atmel chips - Programmer's Notepad
Programmer's Notepad (Windows package; no description in the winget index) editor 编辑器 编辑 programming 编程 代码 code coding… - aki-mline
match line, regex text filter like a grep of linux command. - aki-unbody
output first or last n lines, like a head and tail of linux command. - jed
Powerful editor for programmers - powerping
Small improved command line ICMP ping program lovingly inspired by windows and linux. - dfu-util
USB programmer
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents