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?
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!
-----------------------------------------------------------------------------------------------------------------------
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.
Hi torus
how did you cleared the bit 31(LOCK)
thanks
Niranjan
Hi,
Please try under JTAG - it works on my case for i.MX6Q.
Regards,
Yuri.
Hi Yuri,
how to set HAB_JDE using JTAG
thanks
Niranjan