<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic About otp and efuse in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669530#M103068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I enable the fsl_otp feature in the kernel. and i can find /sys/fsl_otp/&lt;/P&gt;&lt;P&gt;I can cat the items under dir /sys/fsl_otp/. such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_LOCK&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG0&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG1&lt;/P&gt;&lt;P&gt;i want to&amp;nbsp;use&amp;nbsp;&amp;nbsp;"echo 0x12345678 &amp;gt; /sys/fsl_otp/HW_OCOTP_CFG4" &amp;nbsp; &amp;nbsp;(fusemap: 0x450, boot config) to burn the efuse register. is it ok?&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it one register can be programed once? &amp;nbsp;if then, i should program it bit by bit because i don't konw clearly what's the right value for some bits now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i program the ocotp register by bit, not 4-bytes? &amp;nbsp;i means i should mask some bit while program.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2017 07:38:52 GMT</pubDate>
    <dc:creator>jameshe1</dc:creator>
    <dc:date>2017-05-31T07:38:52Z</dc:date>
    <item>
      <title>About otp and efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669530#M103068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I enable the fsl_otp feature in the kernel. and i can find /sys/fsl_otp/&lt;/P&gt;&lt;P&gt;I can cat the items under dir /sys/fsl_otp/. such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_LOCK&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG0&lt;/P&gt;&lt;P&gt;cat /sys/fsl_otp/HW_OCOTP_CFG1&lt;/P&gt;&lt;P&gt;i want to&amp;nbsp;use&amp;nbsp;&amp;nbsp;"echo 0x12345678 &amp;gt; /sys/fsl_otp/HW_OCOTP_CFG4" &amp;nbsp; &amp;nbsp;(fusemap: 0x450, boot config) to burn the efuse register. is it ok?&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it one register can be programed once? &amp;nbsp;if then, i should program it bit by bit because i don't konw clearly what's the right value for some bits now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i program the ocotp register by bit, not 4-bytes? &amp;nbsp;i means i should mask some bit while program.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 07:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669530#M103068</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-05-31T07:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: About otp and efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669531#M103069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Your understanding regarding fsl_otp feature in the kernel is correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fuses are once programmable. It is needed first to read the fuse and &lt;BR /&gt;set only the burning bits : this may be considered as manual bitwise operation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:22:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669531#M103069</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-05-31T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: About otp and efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669532#M103070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;"It is needed first to read the fuse and &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;set only the burning bits"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do you mean if i write the bit 0, i can write many times. only 0b1 is really programed?&lt;/P&gt;&lt;P&gt;the following case:&lt;/P&gt;&lt;P&gt;I read back cat&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;/sys/fsl_otp/HW_OCOTP_CFG4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;0x0&lt;/P&gt;&lt;P&gt;My board is almost same as imx6qp-sabreauto board but the boot config. i need use ECSPI1 and the SS2 pin to boot from SPI NOR flash?&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;set&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;HW_OCOTP_CFG4[7:0] to 0x30 &amp;nbsp; &amp;nbsp;change only bit[5:4]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-size: 15px;"&gt;set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;HW_OCOTP_CFG4[15:8] to 0x00&amp;nbsp;&amp;nbsp;&amp;nbsp;don't change&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-size: 15px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-size: 15px;"&gt;set&amp;nbsp;&lt;/SPAN&gt;HW_OCOTP_CFG4[23:16] to 0x00&amp;nbsp;&amp;nbsp;&amp;nbsp;don't change&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-size: 15px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #3d3d3d; font-size: 15px;"&gt;set&amp;nbsp;&lt;/SPAN&gt;HW_OCOTP_CFG4[15:8] to 0x00&amp;nbsp;&amp;nbsp;&amp;nbsp;don't change&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21814iAFBB8931B68CC9E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669532#M103070</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-05-31T08:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: About otp and efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669533#M103071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Continued...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px;"&gt;set&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;HW_OCOTP_CFG4[31:24] to 0x28&amp;nbsp; &amp;nbsp;I use ECSPI1_SS2 and use S25FL256(24-bit address).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;then i &lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;write 0x28000030 to&amp;nbsp;&lt;SPAN style="border: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 14px;"&gt;HW_OCOTP_CFG4 , is it write?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-size: 14px;"&gt;in fact i don't understand &lt;SPAN&gt;HW_OCOTP_CFG4&lt;/SPAN&gt;[23:16], now i write it as 0, can i re-program as 1 at some time i know the right value? Could you please give me the right values for the efuse registers can be used on imx6qp-sabreauto board? &amp;nbsp;i want to modify it for my board. thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 08:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669533#M103071</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-05-31T08:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: About otp and efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669534#M103072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;gt; ... if i write the bit 0, i can write many times. only 0b1 is really programed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Yes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Correct, it is needed to write&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; 0x28000030 to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;HW_OCOTP_CFG4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/About-otp-and-efuse/m-p/669534#M103072</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-06-02T09:37:50Z</dc:date>
    </item>
  </channel>
</rss>

