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


 

Newest Forum Posts

  1. Problem programming chip by JimELi, 2019-03-25 21:26
  2. CubeMT code, generated for SW4STM32 by market14, 2019-03-25 03:57
  3. Problem verifing and downloading code by strohmas, 2019-03-24 23:16
  4. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  5. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  6. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  7. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  8. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  9. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  10. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21

Last-Modified Blogs