<?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>i.MX ProcessorsのトピックRe: imx283--read cpu unique id</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx283-read-cpu-unique-id/m-p/268576#M28407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following forum item may be useful :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.freescale.com/message/297846#297846"&gt;https://community.freescale.com/message/297846#297846&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular, values in registers HW_OCOTP_OPS2 (at 0x8002_C150 address) and &lt;/P&gt;&lt;P&gt;HW_OCOTP_UN2 (0x8002_C190) relate to the ID.&lt;/P&gt;&lt;P&gt;Please take a look at sections 20.4.22 [Value of OTP Bank2 Word3 (Freescale &lt;/P&gt;&lt;P&gt;OPS2) (HW_OCOTP_OPS2)] and 20.4.26 [Value of OTP Bank2 Word7 (Unassigned2) &lt;/P&gt;&lt;P&gt;(HW_OCOTP_UN2)] of the i.MX28 Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, please pay attention :&lt;/P&gt;&lt;P&gt;OTP banks must be open through HW_OCOTP_CTRL[RD_BANK_OPEN] before reading this &lt;/P&gt;&lt;P&gt;register. Reading this register without having HW_OCOTP_CTRL[RD_BANK_OPEN] set &lt;/P&gt;&lt;P&gt;and HW_OCOTP_CTRL[BUSY] clear, will result in HW_OCOTP_CTRL[ERROR] being set and &lt;/P&gt;&lt;P&gt;0xBADA_BADA being returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please look at section 20.2.1 (Software Read Sequence) for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 04:31:27 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2013-04-19T04:31:27Z</dc:date>
    <item>
      <title>imx283--read cpu unique id</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx283-read-cpu-unique-id/m-p/268575#M28406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Hello &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; Forum&lt;/SPAN&gt;:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Today,I tried to read imx283's cpu unique identifitcation,then i found some registers by reading the imx28 datasheet(chapter 19.4.38&amp;amp;chapter 19.4.39),and i read the register(&lt;SPAN style="color: #000000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;HW_DIGCTL_CHIPID&lt;/SPAN&gt;):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;unsigned long reg;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;reg = __raw_readl(IO_ADDRESS(DIGCTL_PHYS_ADDR)+0x310);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;printk("%s: 0x%x\n", __func__, reg);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 16px; background-color: #ffedc4; font-family: 微软雅黑, 'MS Sans Serif', sans-serif;"&gt;It returns 0x28000001，like as described in the manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 16px; background-color: #ffedc4; font-family: 微软雅黑, 'MS Sans Serif', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;&lt;SPAN style="color: #000000;"&gt;I tried another register(&lt;SPAN style="color: #000000; font-size: 16px;"&gt;HW_DIGCTL_FSL&lt;/SPAN&gt;):&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;unsigned long reg;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;reg = __raw_readl(IO_ADDRESS(DIGCTL_PHYS_ADDR)+0x300);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;printk("%s: 0x%x\n", __func__, reg);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: -webkit-auto; color: #000000; font-size: 16px; background-color: #ffedc4; font-family: 微软雅黑, 'MS Sans Serif', sans-serif;"&gt;ok,it's copyright,returns 65657246.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #804000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;These&amp;nbsp; don't seem like a unique identifier,any other idea?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 微软雅黑, 'MS Sans Serif', sans-serif; font-size: 16px; text-align: -webkit-auto; background-color: #ffedc4;"&gt;THX:smileyhappy:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 08:56:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx283-read-cpu-unique-id/m-p/268575#M28406</guid>
      <dc:creator>志明李</dc:creator>
      <dc:date>2013-04-16T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: imx283--read cpu unique id</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx283-read-cpu-unique-id/m-p/268576#M28407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following forum item may be useful :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://community.freescale.com/message/297846#297846"&gt;https://community.freescale.com/message/297846#297846&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular, values in registers HW_OCOTP_OPS2 (at 0x8002_C150 address) and &lt;/P&gt;&lt;P&gt;HW_OCOTP_UN2 (0x8002_C190) relate to the ID.&lt;/P&gt;&lt;P&gt;Please take a look at sections 20.4.22 [Value of OTP Bank2 Word3 (Freescale &lt;/P&gt;&lt;P&gt;OPS2) (HW_OCOTP_OPS2)] and 20.4.26 [Value of OTP Bank2 Word7 (Unassigned2) &lt;/P&gt;&lt;P&gt;(HW_OCOTP_UN2)] of the i.MX28 Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, please pay attention :&lt;/P&gt;&lt;P&gt;OTP banks must be open through HW_OCOTP_CTRL[RD_BANK_OPEN] before reading this &lt;/P&gt;&lt;P&gt;register. Reading this register without having HW_OCOTP_CTRL[RD_BANK_OPEN] set &lt;/P&gt;&lt;P&gt;and HW_OCOTP_CTRL[BUSY] clear, will result in HW_OCOTP_CTRL[ERROR] being set and &lt;/P&gt;&lt;P&gt;0xBADA_BADA being returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please look at section 20.2.1 (Software Read Sequence) for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 04:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx283-read-cpu-unique-id/m-p/268576#M28407</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-04-19T04:31:27Z</dc:date>
    </item>
  </channel>
</rss>

