AN4989 Rev 3
113/118
AN4989
Managing various targets on the same PC
117
Figure 90. Error message for multiple ST-LINK detected in STM32CubeIDE
•
Setting up with OpenOCD
rIt is possible to force the connection to a specific target using the ST-LINK S/N.
In
Run -> Debug Configurations -> Debugger Pane
, add the following OpenOCD option:
-c hla_serial [ST-LINK S/N]
Figure below illustrates the setting of an OpenOCD option for forcing a connection.