This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4376: How to confirm that Jtag debug mode is Disable

Part Number: AM4376


Hello,

We are using AM4376 processor for one of our product development. Till date we are able to do the secure boot since we are using Secure version of LPC4376. But now we want to confirm that Jtag is disabled in this processor. 

Although to confirm we have checked by connecting it with Jtag to debug and program. But how to confirm in the code so that reading that flag or the console on which the logs come we can confirm the same.

Please let us know since we are moving ahead with the product level testing at the initial stage while testing we observed that we need this information as well with respect to the secure chip in order to proceed further.

Let us know if any further details we can share, we have also checked in the boot log as well with the name Jtag and Debug as well but not able to find the relevant information. Also on more point is in the SDK build and install document it is mentioned as per below statement.

under 6.1.1 Enabling debug capability on HS devices section

"By default, the debug capability is enabled on the HS device for current builds . However, firewalls
can be configured to enable/disable the debug capability on these devices. To enable debug
capability, edit “build.mk” and make SEL_DEBUG_HS :=1 and for disabling debug capability, make
SEL_DEBUG_HS := 0"

But we are not able to find the build.mk and SEL_DEBUG_HS Macro. So please let us know where to find the same since it is  required for the confirmation whether Jtag is disable or not;

BR,

Gaurav More