Hi Niket Zope ,
Thanks for your cooperation.
What's the function you want to configure the SWD_DIO in the code? Not the SWD function?
If yes, your debugger must be lost.
If you still want to use the SWD_DIO pin function, you don't need to configure it, as the default function is the SWD function.

About the JLINK didn't lost issue, you can check PORTA_PCR4 register, what's the mux data now?

Maybe the JLINK debugger even didn't modify the PTA4 mux function.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------