Linux command
st-info 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show device info
st-info --probe
Show flash size
st-info --flash
Show SRAM size
st-info --sram
Show chip ID
st-info --chipid
Show description
st-info --descr
Show serial number
st-info --serial
说明
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.
参数
- --probe
- Probe connected device.
- --flash
- Flash memory size.
- --sram
- SRAM size.
- --chipid
- Chip identifier.
- --descr
- Device description.
- --serial
- Programmer serial.
FAQ
What is the st-info command used for?
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.
How do I run a basic st-info example?
Run `st-info --probe` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --probe do in st-info?
Probe connected device.