Skip to main content
Visitor II
March 17, 2020
Question

Hi, I have a problem with JTAG in stm32h753. How can I enable and disable JTAG interface. I'm using HAL drivers and STM32CubeIDE.

  • March 17, 2020
  • 2 replies
  • 1022 views

I have permanently conected ST- LINK V3 to my STM .My problem occurs when my board is working and i try connect ST-LINK to USB. When connecting ST-LINK reset my STM.

This is big problem for me.

    This topic has been closed for replies.

    2 replies

    Super User
    March 19, 2020

    Connecting ST-Link drives the nRST pin down briefly which resets the chip. No way to avoid that other than removing the nRST signal connection to ST-Link, which can cause other issues.

    To disable the SWD or JTAG interface in your program, reprogram the relevant pins as something else. Note that ST-Link does not use JTAG, it uses SWD. I'm not sure if you're confusing the two or not.

    I think you should just plan to keep st-link connected or not while program is running. Up to you.

    Graduate II
    March 19, 2020

    STLink is supporting both SWD & JTAG ...