st util

St-util Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora And MacOS

St-util Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora And MacOS

st-util

Run GDB (GNU Debugger) server to interact with STM32 ARM Cortex microcontoller.

Maintainer: Luca Boccassi



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 4500Click to copy
Connect to GDB server:
(gdb) target extended-remote localhost:4500Click to copy
Write firmware to device:
(gdb) load firmware.elfClick 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 2022 package in your OS.