cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple STLink, one for each Project in STM32CubeIDE

Paul1
Lead

Trying to have multiple ST-Link connected at one time.

Not working like I hoped.

Anyone got it working? (Multiple projects each with own STLink, all connected at same time)

Using STM32CubeIDE v1.6.1

---- My results ----

I try to set each project to a specific STLink Serial Number (I have 5 modules interconnected, and that list is growing), using:

  • Project > Right Click > Debug As > Debug Cofigurations... > Tab:Debugger
  • [+]ST-Link S/N > Scan > Select the correct one > Apply > Close
  • It works with one, but gets confused when I have more than one

I've written the serial number on each device by connecting one at a time and scanning for changes.

  • I've noticed that the first serial number listed seems to be incorrect, as it is often for an STLink I've disconnected. ****This may be a bug****

---- Suggestion ----

ST-Link serial numbers should be:

  • Shown on the Virtual disk that opens when you connect the USB to the STLink (maybe in Details.txt)
  • Printed on the label (STLink/V3, STLink/Mini, etc.)

Paul

1 ACCEPTED SOLUTION

Accepted Solutions
Paul1
Lead

Works now, see notes in attached:

- MultipleSTLink=SN#.docx

I wasn't properly creating a separate Debug Configuration for each project.

View solution in original post

3 REPLIES 3
Paul1
Lead

Works now, see notes in attached:

- MultipleSTLink=SN#.docx

I wasn't properly creating a separate Debug Configuration for each project.

Glad to see it worked out. I'll run some tests to see if I can get the same result you mentioned with the disconnected STLink!

ewats.1
Associate

You had mentioned Printed on the label (STLink/V3, STLink/Mini, etc.) in the last! Can we use a thermal Bluetooth printer to print these labels?