<?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 the LPC15xx unique serial number in application? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676240#M27123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carsten, before I download the LPCOpen support, I´ve tried the following:&lt;/P&gt;&lt;P&gt;#define IAPCommand_UID_Read 58&lt;BR /&gt;#define IAP_LOCATION 0x03000200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iap_entry=(IAP) (IAP_LOCATION+5);&amp;nbsp;&amp;nbsp;&amp;nbsp;// ???????????????&lt;BR /&gt;IAP_command[0]=IAPCommand_UID_Read; //&lt;/P&gt;&lt;P&gt;iap_entry(IAP_command, IAP_result);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it worked-out !!! I read the&amp;nbsp;&lt;SPAN&gt;iap_entry=(IAP) (IAP_LOCATION+5) structure in some Application Note ... But the point is: I can´t explain why the code works with it ... and crashes withou it ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I will download LPCOpen resources because there are a lot of interesting things on it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanx once more Carsten!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 13:29:29 GMT</pubDate>
    <dc:creator>xavieralbornoz</dc:creator>
    <dc:date>2017-07-06T13:29:29Z</dc:date>
    <item>
      <title>How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676230#M27113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to know how to read the LPC15xx/LPC176x unique serial number in application. I know it is possible to read it by means FLASH MAGIC, for exemple, but I need to read it running the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 03:54:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676230#M27113</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-06-28T03:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676231#M27114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way is using the IAP interface (use LPCOpen):&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/24469i839357E5169CCBD3/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, 28 Jun 2017 12:30:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676231#M27114</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-06-28T12:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676232#M27115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carsten! I thank you for your tip. The answer was "in front of me" ... I will try to do it to check if it so easy ... Thanx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 20:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676232#M27115</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-06-29T20:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676233#M27116</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;"&gt;Hi Carsten! Unfortunately it didn´t work ... I did the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// LPC1518 IAP accesses&lt;BR /&gt;#define IAP_Read_UID_Command 58&lt;BR /&gt;#define IAP_LOCATION 0x03000200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unsigned int IAP_command[5];&lt;BR /&gt;unsigned int IAP_result[5];&lt;/P&gt;&lt;P&gt;typedef void (*IAP)(unsigned int [],unsigned int[]);&lt;BR /&gt;IAP iap_entry;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IAP_command[0]=58;&lt;BR /&gt;iser0=NVIC-&amp;gt;ISER[0];&amp;nbsp;&amp;nbsp;&amp;nbsp;// temp copy&amp;nbsp;&lt;BR /&gt; iser1=NVIC-&amp;gt;ISER[1];&amp;nbsp;&amp;nbsp;&amp;nbsp;// temp copy&lt;BR /&gt; NVIC-&amp;gt;ICER[0]=0xFFFFFFFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;// block IRQs&lt;BR /&gt; NVIC-&amp;gt;ICER[1]=0xFFFFFFFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;// block IRQs&lt;/P&gt;&lt;P&gt;iap_entry(IAP_command, IAP_result);&amp;nbsp;&amp;nbsp;&amp;nbsp;// read UID&lt;/P&gt;&lt;P&gt;NVIC-&amp;gt;ISER[0]=iser0;&amp;nbsp;&amp;nbsp;&amp;nbsp;// restore&lt;BR /&gt; NVIC-&amp;gt;ISER[1]=iser1;&amp;nbsp;&amp;nbsp;&amp;nbsp;// restore&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is: my program stoped at&amp;nbsp;&lt;SPAN&gt;iap_entry(IAP_command, IAP_result) command and didn´t run ... it didn´t "came back" to main program ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any tip? I´m doing something wrong ... but don´t know what ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanx in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 11:15:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676233#M27116</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-07-06T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676234#M27117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The IAP entrypoint is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/* Pointer to ROM IAP entry functions */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define IAP_ENTRY_LOCATION 0x03000205UL&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the function from LPCOpen (using Keil) for my test and they seem to work.&lt;/P&gt;&lt;P&gt;Hope you can figure this out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 11:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676234#M27117</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-07-06T11:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676235#M27118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carsten. I use KEIL5 as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the IAP entrypoint to&amp;nbsp;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;#define IAP_ENTRY_LOCATION 0x03000205UL&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;but the result was the same ... the program stops in this instruction. Probably I´m forgetting something ... any kind of inicialization or to anable any function. But, as there´s nothing more detailed about this procedure (read UID) I really have no idea what I´m doing wrong ... May be an #include ... I don´t know ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 11:58:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676235#M27118</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-07-06T11:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676236#M27119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xavier,&lt;/P&gt;&lt;P&gt;I would get the LPCOpen for the LPC15xx if I was you, maybe there is something in there you can use ?&lt;/P&gt;&lt;P&gt;There is a IAP.C file that contains a function for reading the UID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 12:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676236#M27119</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-07-06T12:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676237#M27120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Carsten. How to do it? How can I get the LPCOpen for LPC15xx ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 12:12:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676237#M27120</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-07-06T12:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676238#M27121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-bare" href="http://lmgtfy.com/?q=lpcopen+for+lpc15xx" title="http://lmgtfy.com/?q=lpcopen+for+lpc15xx"&gt;http://lmgtfy.com/?q=lpcopen+for+lpc15xx&lt;/A&gt;&amp;nbsp; :smileywink:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 12:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676238#M27121</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-07-06T12:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676239#M27122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Carsten. Im´doing it !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 12:25:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676239#M27122</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-07-06T12:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to read the LPC15xx unique serial number in application?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676240#M27123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carsten, before I download the LPCOpen support, I´ve tried the following:&lt;/P&gt;&lt;P&gt;#define IAPCommand_UID_Read 58&lt;BR /&gt;#define IAP_LOCATION 0x03000200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iap_entry=(IAP) (IAP_LOCATION+5);&amp;nbsp;&amp;nbsp;&amp;nbsp;// ???????????????&lt;BR /&gt;IAP_command[0]=IAPCommand_UID_Read; //&lt;/P&gt;&lt;P&gt;iap_entry(IAP_command, IAP_result);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it worked-out !!! I read the&amp;nbsp;&lt;SPAN&gt;iap_entry=(IAP) (IAP_LOCATION+5) structure in some Application Note ... But the point is: I can´t explain why the code works with it ... and crashes withou it ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyway, I will download LPCOpen resources because there are a lot of interesting things on it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanx once more Carsten!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 13:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-read-the-LPC15xx-unique-serial-number-in-application/m-p/676240#M27123</guid>
      <dc:creator>xavieralbornoz</dc:creator>
      <dc:date>2017-07-06T13:29:29Z</dc:date>
    </item>
  </channel>
</rss>

