<?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>Kinetis Microcontrollers中的主题 Re: Unique Idenfication (UID) Questions</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183336#M1867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very interested to this thread , it is possible to have an answer ?&lt;/P&gt;&lt;P&gt;This UID registers uniquely identify each different microcontreller part ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 19:19:09 GMT</pubDate>
    <dc:creator>GottiLuca</dc:creator>
    <dc:date>2012-06-22T19:19:09Z</dc:date>
    <item>
      <title>Unique Idenfication (UID) Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183334#M1865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm loooking at using the SIM_UID registers (SIM_UIDH, SIM_UIDMH, SIM_UIDML, SIM_UIDL) as a means of identifying specific boards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Am I correct that these registers will be 100% unique for each processor?&lt;/P&gt;&lt;P&gt;2) Do I need to use all 4 registers to guarantee uniqueness, or is using the lower 1 or 2 "good enough" (we only produce a few hundred products a year).&lt;/P&gt;&lt;P&gt;3) How do I read out these values? &amp;nbsp;I can't find the registers defined in any of the MQX BSP/PSP files.&lt;/P&gt;&lt;P&gt;4) Any suggestions for generating unique software "unlock" keys using a processor's UID, to enable specific-user features?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 23:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183334#M1865</guid>
      <dc:creator>dspNeil</dc:creator>
      <dc:date>2011-11-16T23:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Idenfication (UID) Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183335#M1866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bumping this back to the top of the list as I also have the same questions. Very little documentation on this feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 04:17:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183335#M1866</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2012-06-22T04:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Idenfication (UID) Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183336#M1867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very interested to this thread , it is possible to have an answer ?&lt;/P&gt;&lt;P&gt;This UID registers uniquely identify each different microcontreller part ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 19:19:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183336#M1867</guid>
      <dc:creator>GottiLuca</dc:creator>
      <dc:date>2012-06-22T19:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Idenfication (UID) Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183337#M1868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) They will be 100% unique.&lt;/P&gt;&lt;P&gt;2) I asked the same question as I had two sample units where SIM_UIDMH was different, but the other registers were the same. I thought this was odd and I was told that I had to use all 4 registers to guarantee uniqueness.&lt;/P&gt;&lt;P&gt;3) There should be bare-metal header files available to access these registers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 20:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183337#M1868</guid>
      <dc:creator>BenGartner</dc:creator>
      <dc:date>2012-06-22T20:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unique Idenfication (UID) Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183338#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up answering most of these myself. To add to Ben's response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) There are indeed headers available. The processor headers define these registers. In my case, using MQX 3.8, the registers are defined in MK53DZ10.h. You can access the 128 bits&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;as, for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;printf( "CPU Unique Identifier:\n" );printf( "0x%08X 0x%08X 0x%08X 0x%08X\n", SIM_UIDH, SIM_UIDMH, SIM_UIDML, SIM_UIDL );&lt;/PRE&gt;&lt;P&gt;4) To generate unique keys, I use the CPU ID as one of the block inputs to a 128-bit AES encryption algorithm. The cryptographic acceleration unit was a huge pain to get working, but it is now working well for me, and is used numerous times on each boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:34:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Unique-Idenfication-UID-Questions/m-p/183338#M1869</guid>
      <dc:creator>dspNeil</dc:creator>
      <dc:date>2020-10-29T09:34:15Z</dc:date>
    </item>
  </channel>
</rss>

