This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Detecting JTAG connection from CPU

Note: This was originally posted on 11th June 2013 at http://forums.arm.com

Hi all.

I am interested to know if during the initialization process while connecting Jtag debugger to ARM device such as cortex a9, there any way to indicate from the Kernel that this interface is in use?
i would like to know if the initialization process before halting the system is using any CPU register?

thank you
Parents
  • Note: This was originally posted on 13th June 2013 at http://forums.arm.com

    Depending on why you'd want to know whether a debugger was attached, it might be possible to infer the presence.  For example, the debug logic is configured for Monitor mode debug by default.  If you saw the configuration had changed to Halt mode (and your code hadn't done it) you could infer that a debugger had attached.
Reply
  • Note: This was originally posted on 13th June 2013 at http://forums.arm.com

    Depending on why you'd want to know whether a debugger was attached, it might be possible to infer the presence.  For example, the debug logic is configured for Monitor mode debug by default.  If you saw the configuration had changed to Halt mode (and your code hadn't done it) you could infer that a debugger had attached.
Children
No data