2022-02-16 04:14 AM
Hi all.
I'd like to know if STM32L4S5 and STM32L432 support SWD multi drop (SW-DP v.2 protocol).
Thank you in advance.
Best regards,
P.
Solved! Go to Solution.
2022-02-16 08:19 AM
You can find out by decoding the DPIDR. Here for a G474, no L4 at hand:
Read Core ID: 0x2ba01477
DPIDR 0x2ba01477 (v1 rev2)
2022-02-16 07:52 AM
There's this post saying the STM32H7 has multi-drop support:
https://community.st.com/s/question/0D50X0000AIdZjnSQF/does-the-stm32h750-support-multidrop-swd
But it's not mentioned in any reference documents or promotional material for the H7. Unsurprisingly, the L4 documents don't contain any information either.
2022-02-16 07:59 AM
DP on L4 is V1. Multidrop support needs DP V2.
2022-02-16 08:06 AM
2022-02-16 08:10 AM
@TDK The older reference manuals did not contain this yet, but the new ones already contain the note in the section Debug Infrastructure: The SWJ-DP implements SWD protocol version 2, if it is included.
2022-02-16 08:19 AM
You can find out by decoding the DPIDR. Here for a G474, no L4 at hand:
Read Core ID: 0x2ba01477
DPIDR 0x2ba01477 (v1 rev2)
2022-02-16 08:21 AM
@Peter BENSCH By "new ones", do you mean ones we don't have access to? I can't find the phase in any current reference manuals.
2022-02-16 08:28 AM
Thank you very much. Just for reference (from ADIv6.0:(
2022-02-16 08:32 AM
E.g. RM0399 decodes Debug port identification register (DP_DPIDR)
Bits 15:12 VERSION[3:0]: DP architecture version
0x2: DPv2
2022-02-16 10:09 AM
@TDK I meant newer families like e.g. STM32H7, U5.
The SWD protocol version 2 is mentioned as a note in the RMs under Serial-wire debug port, e.g. for
Regards
/Peter