how to fuse JTAG_SMODE (secure jtag mode)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to fuse JTAG_SMODE (secure jtag mode)

1,235 Views
myungjinhwang
Contributor III

I have some questions...about secure jtag mode

My development board is a IMX6 Sabrelite(boundarydevices).

I don't know how to configure secure jtag mode.

     00 - JTAG enable mode (Default)

     01 - Secure JTAG mode

     11 - No debug mode

searched below files but can not find out it.

     - Configuring Secure JTAG for the i.MX 6 Series Family of Applications Processor.pdf

     - i.MX 6Dual_6Quad Multimedia Applications Processor Reference Manual (REV B).pdf

in the Secure JTAG doc, i could see "/sys/fsl_otp/HW_OCOTP_CFG5"> Burn JTAG_SMODE =01 fuse</CMD>".

but i also find out "echo 0x2 > HW_OCOTP_CFG5" command to configure SEC_CONFIG to close mode in how to enable hab doc.

Then both use same HW_OCOTP_CFG5 bit...


please help me.



3 Replies

143 Views
myungjinhwang
Contributor III

oh...it was my mistake......

i found " echo 0x00400000 > /sys/fsl_otp/HW_OCOTP_CFG5"



0 Kudos

143 Views
XiaoPong
NXP Employee
NXP Employee

Hi, MyungJin,

Enter following command in u-boot:

>imxotp blow --force 6 400000

Best Regards,

Wilson

143 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi MyungJin

Secure JTAG usage is described in AN4686 Configuring Secure JTAG for the

i.MX 6 Series Family of Applications Processors.

Note, Secure JTAG requires external debugger tools (such as Lauterbach Trace32,

ARM RVDS/DS5 Debuggers, etc.) that support the challenge/response-based

authentication mechanism. Also link below shows how to blow fuses

https://community.freescale.com/docs/DOC-95458

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------