<?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 Re: How to read i.MX6DQ unique ID. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328301#M44205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;You may use Linux sysfs options of Linux :&lt;BR /&gt; &lt;BR /&gt;root@linaro-ubuntu-desktop:~# cat /sys/fsl_otp/HW_OCOTP_CFG0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;0xd72d7394&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;root@linaro-ubuntu-desktop:~# cat /sys/fsl_otp/HW_OCOTP_CFG1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;0xf1361d4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;OTP Bank0 Word1 - contains the first word of the UID. &lt;BR /&gt;OTP Bank0 Word2 - contains the second word of the UID.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please look at sections 46.5.10 [Value of OTP Bank0 Word1 (Configuration and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Manufacturing Info.) (OCOTP_CFG0)] and 46.5.11 Value of OTP Bank0 Word2 &lt;BR /&gt;(Configuration and Manufacturing Info.) (OCOTP_CFG1) of the i.MX6 DQ Reference &lt;BR /&gt;Manual (IMX6DQRM, Rev 2, 06/2014).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Thu, 16 Oct 2014 06:00:51 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2014-10-16T06:00:51Z</dc:date>
    <item>
      <title>How to read i.MX6DQ unique ID.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328300#M44204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have some questions about i.MX6DQ unique ID.&lt;/P&gt;&lt;P&gt;Our partner want to read i.MX6DQ unique ID.&lt;/P&gt;&lt;P&gt;Then, we tried the procedure written in chapter 46.3.1.2 in IMX6DQRM (Rev.2) with memtool in Linux BSP to read unique ID.&lt;/P&gt;&lt;P&gt;However, we cannot read it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hands, we tried read 0x021B_C410 and 0x021B_C420 by memtool directly.&lt;/P&gt;&lt;P&gt;In this case, we got the values it looked like a unique ID.&lt;/P&gt;&lt;P&gt;The values in 0x021B_C410 and 0x021B_C420 are different for each SABRE-SD board, and this value is not changed by re-boot.&lt;/P&gt;&lt;P&gt;So believe these are the unique ID.&lt;/P&gt;&lt;P&gt;Then, please see our questions as following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Q1]&lt;/P&gt;&lt;P&gt;This procedure (reading 0x021B_C4x0 directly by memtool) is no problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Q2]&lt;/P&gt;&lt;P&gt;If the answer to "yes" to Q1, our partner want to know why there is the read procedure written in chapter 46.3.1.2.&lt;/P&gt;&lt;P&gt;I guess, some OCOTP registers can be read by memtool directly, and some registers cannot be read directly.&lt;/P&gt;&lt;P&gt;Maybe banks 0, 1, 2, 4 can be read by memtool, and other banks cannot be read.&lt;/P&gt;&lt;P&gt;And the procedure in chapter 46.3.1.2 is required to read bank 3, 5.&lt;/P&gt;&lt;P&gt;Is my understanding correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Satoshi Shimoda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 01:07:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328300#M44204</guid>
      <dc:creator>satoshishimoda</dc:creator>
      <dc:date>2014-10-16T01:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to read i.MX6DQ unique ID.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328301#M44205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;You may use Linux sysfs options of Linux :&lt;BR /&gt; &lt;BR /&gt;root@linaro-ubuntu-desktop:~# cat /sys/fsl_otp/HW_OCOTP_CFG0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;0xd72d7394&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;root@linaro-ubuntu-desktop:~# cat /sys/fsl_otp/HW_OCOTP_CFG1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;0xf1361d4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;OTP Bank0 Word1 - contains the first word of the UID. &lt;BR /&gt;OTP Bank0 Word2 - contains the second word of the UID.&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Please look at sections 46.5.10 [Value of OTP Bank0 Word1 (Configuration and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Manufacturing Info.) (OCOTP_CFG0)] and 46.5.11 Value of OTP Bank0 Word2 &lt;BR /&gt;(Configuration and Manufacturing Info.) (OCOTP_CFG1) of the i.MX6 DQ Reference &lt;BR /&gt;Manual (IMX6DQRM, Rev 2, 06/2014).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&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>Thu, 16 Oct 2014 06:00:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328301#M44205</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-10-16T06:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read i.MX6DQ unique ID.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328302#M44206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I understood we can use "cat /sys/fsl_otp/xxx" to check OCOTP value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, could you reply me about Q2 also?&lt;/P&gt;&lt;P&gt;I tried read OCOTP with the above cat command, but bank 3 &amp;amp; 5 seem always return 0x0.&lt;/P&gt;&lt;P&gt;So I guess &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;the read procedure written in chapter 46.3.1.2 is required to read bank 3 or 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is this correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Satoshi Shimoda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 06:33:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328302#M44206</guid>
      <dc:creator>satoshishimoda</dc:creator>
      <dc:date>2014-10-17T06:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read i.MX6DQ unique ID.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328303#M44207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; You are right : the section 46.3.1.2 (Fuse and Shadow register read) of the i.MX6 RM &lt;/P&gt;&lt;P&gt;(&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;IMX6DQRM, &lt;/SPAN&gt;Rev 2, 06/2014 ) provides general procedure to read fuses. Another way,&lt;/P&gt;&lt;P&gt;if Linux in itself does not allow access to all fuses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 08:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-read-i-MX6DQ-unique-ID/m-p/328303#M44207</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-10-20T08:36:39Z</dc:date>
    </item>
  </channel>
</rss>

