Skip to main content
Associate
Aug 14, 2025 2:01 AM UTC
Solved

How to share a programming port between multiple STM32U5 and STM32L4 MCUs

I am currently using multiple STM32U5 series and STM32L4 series MCUs in a single system.
I would like to share a single physical programming port (e.g., SWD or UART) among these MCUs and switch between them to program each one individually.

  • I have already confirmed that ST-LINK cannot program multiple MCUs simultaneously.

  • Based on this premise, is it possible to share a programming port between multiple MCUs and still program them individually?

  • If it is possible, could you please advise on the method?

Thank you in advance for your support.

This topic has been closed for replies.
TDK
TDKBest answer
Aug 18, 2025 12:50 PM UTC

I don't know of any alternative solutions. Multi-drop is not common.

"If you feel a post has answered your question, please click ""Accept as Solution""."

3 replies

TDK
Aug 14, 2025 2:24 AM UTC
"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
Aug 18, 2025 3:21 AM UTC

Thank you very much for your response.

I will try using JTAG as you suggested.

 

I have an additional question.

In section 7.4.2 "JTAG" of the following PDF, it states: " The STLINK-V3SET does not support the chaining of devices in JTAG (daisy chain)."

STLINK-V3SET debugger/programmer for STM8 and STM32 - User manual

 

Since I own an ST-LINK V3SET, it seems that I cannot use its JTAG interface for daisy chain connections.

Dose this mean I would need a third-party JTAG debugger?

 

From my research, SEGGER's J-LINK appears to be one option, but I do not currently own one, and the cost is quite high.

If there are any alternative solutions you could recommend, I would greatly appreciate your advice.

TDK
TDKBest answer
Aug 18, 2025 12:50 PM UTC

I don't know of any alternative solutions. Multi-drop is not common.

"If you feel a post has answered your question, please click ""Accept as Solution""."