cancel
Showing results for 
Search instead for 
Did you mean: 

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

MKupc.1
Associate

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.

2 REPLIES 2
TDK
Guru

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.

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

STLink is supporting both SWD & JTAG ...