LinuxCommandLibrary

st-info

TLDR

Show device info

$ st-info --probe
copy
Show flash size
$ st-info --flash
copy
Show SRAM size
$ st-info --sram
copy
Show chip ID
$ st-info --chipid
copy
Show description
$ st-info --descr
copy
Show serial number
$ st-info --serial
copy

SYNOPSIS

st-info [--probe] [--flash] [--sram] [options]

DESCRIPTION

st-info queries information from STM32 microcontrollers connected via an ST-Link programmer/debugger. It reports device identification details including chip ID, device description, flash memory size, SRAM size, and the programmer's serial number.
The tool is useful for verifying hardware connections, identifying unknown STM32 variants, and confirming memory sizes before programming. The --probe option provides a comprehensive summary of all connected devices. It is part of the open-source stlink toolset.

PARAMETERS

--probe

Probe connected device.
--flash
Flash memory size.
--sram
SRAM size.
--chipid
Chip identifier.
--descr
Device description.
--serial
Programmer serial.

CAVEATS

ST-Link required. Device must be connected. STM32 only.

HISTORY

st-info is part of stlink, providing device information for STM32 microcontrollers connected via ST-Link.

SEE ALSO

st-flash(1), st-util(1), openocd(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community