2017-03-31 06:55 AM
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.
Solved! Go to Solution.
2017-04-10 11:14 AM
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.
2017-04-10 09:13 PM
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...