More than one ST-Link for upload (several devices are connected to PC_

openocd is inherently unable to distinguish STLinks by default, but a modification can be done to check the serial. See Programming with multiple ST-Link programmers. This is different for every single upload tool, some might not even support it.

2 Likes