Loading...
 

System Workbench for STM32


You are viewing a reply to Debug 2 devices on the same PC  

Debug 2 devices on the same PC

You can configure each project to use a specific ST-Link by explicitly saying which ST-Link S/N to use.
To set specific ST-Link S/N you need to open Debug Configurations->Debugger and there in OpenOCD Options type “-c hla_serial xxxxxxxxxxxxxxxxxxxxxxxx”
To get your ST-Link’s serial you can use ST-Link Utility or STM CubeProgrammer
See screenshot attached
Stlink Sn

Hello,
so the only way to debug 2 board is have 2 different PC ?

Thanks
Riccardo