St-util Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora And MacOS
Maintainer: Luca Boccassi
Email: [email protected] .
Website: https://github.com/texane/stlink
Section: electronics
Install st-util
-
Debian
apt-get install stlink-tools
Click to copy -
Ubuntu
apt-get install stlink-tools
Click to copy -
Alpine OS
apk add stlink
Click to copy -
Arch Linux
pacman -S stlink
Click to copy -
Kali Linux
apt-get install stlink-tools
Click to copy -
Fedora
dnf install stlink
Click to copy -
macOS
brew install stlink
Click to copy
Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller.
How to use st-util?
Below are few example commands for st-util that you can use in the terminal.
Run GDB server on port 4500:st-util -p 4500
Click to copyConnect to GDB server:(gdb) target extended-remote localhost:4500
Click to copyWrite firmware to device:(gdb) load firmware.elf
Click to copy
To install the latest version of st-util in your favorite operating system just copy the st-util installation command from above and paste it into terminal. It will download and install the latest version of st-util 2024 package in your OS.