Set HAB_JDE bit ignored for i.MX6UL

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

Set HAB_JDE bit ignored for i.MX6UL

688 Views
torus1000
Contributor V

Hi,

I'd like to set HAB_JDE bit of OCOTP_SCSn register in i.MX6UL as following.

=> md.l 0x021BC060 4

021bc060: 80000000 80000000 80000000 80000000    ................

=> mw.l 0x021BC064 0x00000001

=> md.l 0x021BC060 4

021bc060: 80000000 80000000 80000000 80000000    ................

I expected to change to 80000001 but the result was still same as 80000000.

What was wrong with my uboot commnad sequence?

Can anyone help me?

Labels (1)
Tags (2)
0 Kudos
5 Replies

457 Views
Yuri
NXP Employee
NXP Employee

Hello,

  According to 36.5.7 [Software Controllable Signals Register (OCOTP_SCSn)]

of the i.MX6UL RM : bit 31(LOCK) - looks like as set in the case  -

when set, all of the bits in this register are locked and can not be changed through

SW programming.

Have a great day,
Yuri

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

0 Kudos

457 Views
torus1000
Contributor V

Dear Yuri,

Thank you for replying.

Just in case, I confirmed same commands with my i.MX6S board as following.

U-Boot > md.l 0x021BC060 4

021bc060: 00000000 00000000 00000000 00000000    ................

U-Boot > mw.l 0x021BC064 0x00000001

U-Boot > md.l 0x021BC060 4

021bc060: 00000000 00000000 00000000 00000000    ................

It seemed even MSB cleared (unlock) though HAB_JDE bit had never changed.

In this case, is there any reason to lock this bit?

Best Regards.

0 Kudos

457 Views
niranjanbc
Contributor IV

Hi torus

how did you cleared the bit 31(LOCK)

thanks

Niranjan

0 Kudos

457 Views
Yuri
NXP Employee
NXP Employee

Hi,

  Please try under JTAG - it works on my case for i.MX6Q.

Regards,

Yuri.

0 Kudos

457 Views
niranjanbc
Contributor IV

Hi Yuri,

how to set HAB_JDE using JTAG

thanks

Niranjan

0 Kudos