2020-03-17 07:51 AM
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.
2020-03-18 06:34 PM
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.
2020-03-19 09:56 AM
STLink is supporting both SWD & JTAG ...