SystemWorkbench for STM32 Multi Board Debug |
SystemWorkbench provides a way to simultaneously debug different applications on different boards : it is called Multi Board Debug.
1) Interfacing with the proper board
Either using ST-Link Server
ST-Link Server allows to manage multiple boards. Refer to the ST-Link Server page.
Or using the serial number
This feature is based on the serial number that can be collected in using the STM32 ST-LINK Utility tools : STM32 ST-LINK Utility
Once this tool is installed, the Multi Board Debug feature can be setup thanks to the following steps (on Windows only) :
As an example, the following images show the Debug Configuration made for 2 NUCLEO L4 boards:
2) TCP/IP Ports
The gdb port by default is 3333, but in any case it needs to be different for each debug session in parallel. The port number can be changed using the "Port number" field in the debug configuration
Thanks to these settings, it is possible to launch simultaneously several debug sessions. Each debug session can be handled by selecting the corresponding debug thread:
For more information about C/C++ development tools in Eclipse, please see C/C++ Development User Guide.