<?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: LPC4337 serial number in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586134#M21387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed May 20 06:54:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You are missing a level of indirection. You shouldn't jump to 0x10400100, but to the address pointed to by 0x10400100.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, your result is too small, there is no space for the status code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, "didn't work" is not a good problem description, "causes a hard fault" would have been much better.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:11:34 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:11:34Z</dc:date>
    <item>
      <title>LPC4337 serial number</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586133#M21386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanMellor on Wed May 20 04:52:10 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, I'm trying to read the serial number of an LPC4337.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code but I'm not having much luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried adding 1 to the entry point for Thumb instructions (as below) but that didn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any idea what could be going wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an address I can read directly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;typedef void (*IAP)(void *, void *);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IAP IAP_entry = (IAP)0x10400101;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;static uint32_t UID_array[4];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// get the 128-bit device serial number&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// return 4 DWORDs into an array supplied by the caller&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;static uint32_t IAP_command = 58;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __disable_irq();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IAP_entry(&amp;amp;IAP_command, UID_array);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __enable_irq();&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586133#M21386</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 serial number</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586134#M21387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed May 20 06:54:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You are missing a level of indirection. You shouldn't jump to 0x10400100, but to the address pointed to by 0x10400100.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, your result is too small, there is no space for the status code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, "didn't work" is not a good problem description, "causes a hard fault" would have been much better.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586134#M21387</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 serial number</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586135#M21388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanMellor on Thu May 21 01:01:09 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks statblue I'll give it a go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the bad fault description but my hardware is broken (blown SW port) and I can't remember the exact fault.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-serial-number/m-p/586135#M21388</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:35Z</dc:date>
    </item>
  </channel>
</rss>

