cancel
Showing results for 
Search instead for 
Did you mean: 

Two Different STLink Debugger on One PC to Debug Two Different System

Posted on March 31, 2017 at 15:55

Hi all.

I want to know, can I use two different SLink-v2 (SWD) debugger to debug separate STM-ARM based system? I have STLink v2 debugger and discovery boards (which can be used as a debugger). I've designed a board which has two MCU and they need to talk with together and do something after that. So I need to debug them in the same time.

11 REPLIES 11
Posted on April 10, 2017 at 18:14

It is awkward to keep track, especially as you add in additional ST-LINKs, but I was able this weekend to navigate between 2x DISCO and 1x NUCLEO board on the same system, using Keil uV5.

The important trick moving forward is to print a serial number label for each so they can be selected quickly and correctly the first time around.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on April 11, 2017 at 04:13

With IAR, you can give a nickname to each STLink, which is quite handy.

With both Keil and IAR, the STLink used for debug is saved inside the project and will be used by default for any subsequent debug session.

so hopefully, it should not be too difficult to setup.

Just start debugging each project the first time with only one STlink connected, then you can plug them all at once...