Hi,
I'm trying to recover an SWD debug port after a reset where I need to replace the ResetTarget method using a script file.
I've issued the JTAG-SWD switching sequence as part of a ResetTarget and from the analyzer that seems to be working okay but JLink is not re-connecting properly. If I manually perform an SWDSelect from the JLink command line it connects fine, so I assume I'm missing something in the reset routine.
Can anyone shed any light on what SWDSelect does beyond issuing the switching sequence and reading the ID, does it set any state in the DLL that I need to be aware of? (Is there anyway of invoking it directly from within a scripted routine>)
Thanks for any help you can provide,
JF
I'm trying to recover an SWD debug port after a reset where I need to replace the ResetTarget method using a script file.
I've issued the JTAG-SWD switching sequence as part of a ResetTarget and from the analyzer that seems to be working okay but JLink is not re-connecting properly. If I manually perform an SWDSelect from the JLink command line it connects fine, so I assume I'm missing something in the reset routine.
Can anyone shed any light on what SWDSelect does beyond issuing the switching sequence and reading the ID, does it set any state in the DLL that I need to be aware of? (Is there anyway of invoking it directly from within a scripted routine>)
Thanks for any help you can provide,
JF