<?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>LPC MicrocontrollersのトピックRe: LPC51U68 Read UID</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851405#M33842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="276562" data-username="li-chinwang" href="https://community.nxp.com/people/li-chinwang"&gt;Li-Chin Wang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for contacting our technical support.&lt;/P&gt;&lt;P&gt;The read UID ISP command and IAP command can't used on LPC51u68,&lt;/P&gt;&lt;P&gt;the Errata of LPC51u68 &lt;A class="link-titled" href="https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf" title="https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf"&gt;https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.1 ISP.1: ISP (In-System Programming) command for UID (unique identification number) is not functional.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mentioned ISP read UID command can't use, in fact, IAP read UID also can't use.&lt;/P&gt;&lt;P&gt;Workaround: directly read the address 0x0100 0100, for example the below code:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;volatile uint32_t mem[4] = {0};&lt;BR /&gt;uint32_t *uint32_point=0x01000100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(uint32_t i=0; i&amp;lt;4; i++)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mem[i]=*(uint32_point);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_point++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("nop");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2019 06:41:38 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-02-27T06:41:38Z</dc:date>
    <item>
      <title>LPC51U68 Read UID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851404#M33841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use readuid function to get UID via this functions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use&amp;nbsp;&lt;SPAN&gt;FLASHIAP_readpartid functions to get partid via this functions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;UID I read is&amp;nbsp;0xffffffff,0x0,0x0,0x0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Part ID I read is 0x06451b68&lt;/P&gt;&lt;P&gt;readuid seems doesn't work correctly which return&amp;nbsp;&lt;SPAN&gt;0xffff,0x0,0x0,0x0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status_t FLASHIAP_readuid(void)&lt;BR /&gt;{&lt;BR /&gt; //uint32_t command[5], result[4];&lt;/P&gt;&lt;P&gt;uid_command[0] = kIapCmd_FLASHIAP_ReadUid;&lt;BR /&gt; iap_entry(uid_command, uid_result);&lt;/P&gt;&lt;P&gt;return translate_iap_status(uid_result[0]);@&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status_t FLASHIAP_readpartid(void)&lt;BR /&gt;{&lt;BR /&gt; //uint32_t command[5], result[4];&lt;/P&gt;&lt;P&gt;uid_command[0] = kIapCmd_FLASHIAP_ReadPartId;&lt;BR /&gt; iap_entry(uid_command, uid_result);&lt;/P&gt;&lt;P&gt;return translate_iap_status(uid_result[0]);&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 10:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851404#M33841</guid>
      <dc:creator>li-chinwang</dc:creator>
      <dc:date>2019-02-26T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Read UID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851405#M33842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="276562" data-username="li-chinwang" href="https://community.nxp.com/people/li-chinwang"&gt;Li-Chin Wang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for contacting our technical support.&lt;/P&gt;&lt;P&gt;The read UID ISP command and IAP command can't used on LPC51u68,&lt;/P&gt;&lt;P&gt;the Errata of LPC51u68 &lt;A class="link-titled" href="https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf" title="https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf"&gt;https://www.nxp.com/docs/en/errata/ES_LPC51U68.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.1 ISP.1: ISP (In-System Programming) command for UID (unique identification number) is not functional.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mentioned ISP read UID command can't use, in fact, IAP read UID also can't use.&lt;/P&gt;&lt;P&gt;Workaround: directly read the address 0x0100 0100, for example the below code:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;volatile uint32_t mem[4] = {0};&lt;BR /&gt;uint32_t *uint32_point=0x01000100;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(uint32_t i=0; i&amp;lt;4; i++)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mem[i]=*(uint32_point);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_point++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __asm("nop");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 06:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851405#M33842</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-02-27T06:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Read UID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851406#M33843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have try workaround and get 4 word unique numbers.&lt;/P&gt;&lt;P&gt;Will these 4 word numbers are unique if this function is run in different LPC51U68?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 07:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851406#M33843</guid>
      <dc:creator>li-chinwang</dc:creator>
      <dc:date>2019-02-27T07:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: LPC51U68 Read UID</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851407#M33844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. the single 128-bit value will be unique, not the 4 individual 32-bit values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2019 09:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC51U68-Read-UID/m-p/851407#M33844</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-02-27T09:00:44Z</dc:date>
    </item>
  </channel>
</rss>

