
|
SystemWorkbench for STM32
ST-Link Server
|
ST-Link Server
Since SystemWorkbench version 2.2.0, it is possible to use the external software ST-Link Server.
ST-Link Server is an application allowing:
- To share the debug interface of a single ST-Link board among several host applications. Typically a debugging tool and
a monitoring tool. Of course, two debugging tools can't control simultaneously the same target, but both may have access to it
if choosing appropriate connection settings.
- To easily use and debug setups with multiple boards.
Note that other ST-Link interfaces (if provided: Virtual Com Port, Mass Storage) are not managed through ST-Link server,
but may be used simultaneously.
Installation
ST-Link Server is delivered and installed by the SystemWorkbench for STM32 installer.
If the version 2.2.0 has been installed with the update site procedure, ST-Link Server will not be installed. In that case, download the last
The last SystemWorkbench for STM32 installer or download ST-Link Server on the st.com website.
Manual installation:
- Windows: Double click on the msi file will launch an installation wizard for ST-Link Server.
- Linux: The file is a rpm or deb package, use command line "sudo dpkg -i st-stlink-server-.deb".
- MacOS: Double click on the pkg file will launch an installation wizard for ST-Link Server.
ST-Link Client
Debug Configuration
Thanks to ST-Link Client all connected devices are listed in a target selector option of debug configuration.

Enabling the “shareable ST-Link” option activates ST-Link Client execution flow.
- This option can only be used if ST-Link Server is installed.

To install ST-Link server see section installation
- Once activated the connected boards are listed.
- If no board are connected, a message informs the user:
The table viewer is subject to the following rules:
- This feature requires a ST-Link firmware version J28 and above.
- Only one board can be selected for a debug configuration.
- A default name is assigned to the board at first connection. It can be customized and remains persistent between workspaces.
- In order to identify a board among others a button allows to blink the led of associated ST-Link (require firmware version J28).
- A refresh button allows to check and update the list of the boards connected. Due to usb restriction with the operating systems, a new board is not automatically detected by ST-Link Server. A manual action by clicking on the refresh button needs to be done by the user.
For more information about C/C++ development tools in Eclipse, please see C/C++ Development User Guide.