[imx6] can i write a value to ocopt on c code?

cancel
Showing results for 
Search instead for 
Did you mean: 

[imx6] can i write a value to ocopt on c code?

332 Views
myungjinhwang
Contributor III

dear nxp team.

i know we can write otp values to ocotp, with mfg tool, linux(echo 0x10000000 > /sys/fsl_otp/HW_OCOTP_CFG5), uboot commands(fuse prog 0 0 0x00000001) .

question.

i need to write a value to OCOTP_CFG5 register.

could i write opt values on the c code? 

best regards

MyungJin

0 Kudos
1 Reply

138 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi MyungJin

one can look at attached sdk example, also please check Chapter 25
Configuring the OCOTP Driver pdf document.

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

0 Kudos