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 12th June 2013 at http://forums.arm.com

    Hi, there is no way to determine if a JTAG debugger is connected.  There are ways to prevent a JTAG debugger being able to debug the core (see NIDEN and SNIDEN signals).  Generally, JTAG debuggers do not (and mostly cannot) access ARM core registers while a core is running.  If you are interested in capturing the history of a running system then you should investigate trace functionality provided by debug hardware units such as ARM's DSTREAM.

    Regards,
    Mike.
Reply
  • Note: This was originally posted on 12th June 2013 at http://forums.arm.com

    Hi, there is no way to determine if a JTAG debugger is connected.  There are ways to prevent a JTAG debugger being able to debug the core (see NIDEN and SNIDEN signals).  Generally, JTAG debuggers do not (and mostly cannot) access ARM core registers while a core is running.  If you are interested in capturing the history of a running system then you should investigate trace functionality provided by debug hardware units such as ARM's DSTREAM.

    Regards,
    Mike.
Children
No data