How to program the HAB_JDE of OCOTP_SCSn register for i.MX6UL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to program the HAB_JDE of OCOTP_SCSn register for i.MX6UL

Jump to solution
1,136 Views
yuuki
Senior Contributor II

Dear all,

We want to use Secure JTAG mode.

We set JTAG_SMOD to 0x01 to put SJC in Secure JTAG mode.

(JTAG_SMOD=0x01 / SJC_DISABLE=0 / BOOT_CFG_LOCK=0x1x)

In addition, we understand that it is necessary to set HAB_JDE of OCOTP_SCSn register to "1".

The following is explained in OCOTP_SCSn register.

"This register holds volatile configuration values that can be set and locked by trusted software."

We cannot find a method to make trusted software.

Would you tell me the method to make trusted software?

May I have advice?

Best Regards,

Yuuki

Labels (1)
0 Kudos
1 Solution
857 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

"trusted software" is TrustZone concept which provides virtualization-two virtual

machines: Secure and Normal Worlds (processor modes). Description can

be found in Chapter 53 TrustZone Address Space Controller (TZASC) i.MX6UL Reference Manual,

Chapter 1 Security Overview  Security Reference Manual

Q&A: How is mx6 PMIC_ON_REQ under SW control?

Best regards

igor

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

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

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

View solution in original post

0 Kudos
5 Replies
858 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

"trusted software" is TrustZone concept which provides virtualization-two virtual

machines: Secure and Normal Worlds (processor modes). Description can

be found in Chapter 53 TrustZone Address Space Controller (TZASC) i.MX6UL Reference Manual,

Chapter 1 Security Overview  Security Reference Manual

Q&A: How is mx6 PMIC_ON_REQ under SW control?

Best regards

igor

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

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

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

0 Kudos
857 Views
yuuki
Senior Contributor II

Dear Igor-san,

Thank you for your quick response.

Is there the sample cord to put processor mode in the secure world?

Best Regards,

Yuuki

0 Kudos
857 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

I am not aware of i.MX6UL example, please look at arm :

ARM Information Center

Best regards

igor

857 Views
yuuki
Senior Contributor II

Dear Igor-san,

Thank you for your support.

In addition, would you tell me about the following contents?

In Normal World which is not trusted software, can HAB_JDE bit be set?

Best Regards,

Yuuki

0 Kudos
857 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuuki

yes it can be set in Normal World

Best regards

igor

0 Kudos