AnsweredAssumed Answered

About otp and efuse

Question asked by James He on May 31, 2017
Latest reply on Jun 2, 2017 by Yuri Muhin

I enable the fsl_otp feature in the kernel. and i can find /sys/fsl_otp/

I can cat the items under dir /sys/fsl_otp/. such as 

cat /sys/fsl_otp/HW_OCOTP_LOCK

cat /sys/fsl_otp/HW_OCOTP_CFG0

cat /sys/fsl_otp/HW_OCOTP_CFG1

i want to use  "echo 0x12345678 > /sys/fsl_otp/HW_OCOTP_CFG4"    (fusemap: 0x450, boot config) to burn the efuse register. is it ok? 

is it one register can be programed once?  if then, i should program it bit by bit because i don't konw clearly what's the right value for some bits now. 

How can i program the ocotp register by bit, not 4-bytes?  i means i should mask some bit while program.