Skip to main content
Carles Perello
Associate
March 6, 2018
Question

SWP communication and still debug?

  • March 6, 2018
  • 2 replies
  • 7112 views
Posted on March 06, 2018 at 10:24

Hi

I am using STM32L4 Nucleo board to develop an aplication which will be using the SWPMI port.

I've been reading around and seems that the debug framework is already using it? So my question would be, how do I use the SWPMI_IO port for communication and still being able to debug.

As seen in the figure the bit SWP_TBYP bit switches the SWP kernel interface.

0690X0000060PGLQA2.gif

I guess that if I want to use the SWPMI_IO signal, I would need to debug using an external JTAG interface.

regards

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 6, 2018
    Posted on March 06, 2018 at 16:16

    Which L4-NUCLEO, and why would it clash with SWD debug? PB12 on the L4 isn't involved in that.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Carles Perello
    Associate
    March 6, 2018
    Posted on March 06, 2018 at 16:40

    I  tried it on  STM32L432 Nucleo 32 and will  try also on the STM23L433RCT.

    The picture was taken from an ST SWP presentation for L4 cpu's..so I guess PB12 should be taken as PA8 in the L432.