<?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 LPC11C24 - Serial number in flash memory in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-Serial-number-in-flash-memory/m-p/663933#M26503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;In my product, using LPC11C24, I need to memorize a serial number.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Usually, I did it in an EEPROM memory. But the LPC11C24 didntt have one.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Is it possible to store a number on 6 bytes (6 digit in ASCII format), in the flash memory for example, without recompiling the project &amp;nbsp;(so by user code)?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The other way is to use the serial number of the LPC11C24. But is it possible, from the NXP LPC11C24 serial number to generate a unique 6 digit serial number ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;thanks&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 09:18:19 GMT</pubDate>
    <dc:creator>gfa</dc:creator>
    <dc:date>2017-02-23T09:18:19Z</dc:date>
    <item>
      <title>LPC11C24 - Serial number in flash memory</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-Serial-number-in-flash-memory/m-p/663933#M26503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;In my product, using LPC11C24, I need to memorize a serial number.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Usually, I did it in an EEPROM memory. But the LPC11C24 didntt have one.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Is it possible to store a number on 6 bytes (6 digit in ASCII format), in the flash memory for example, without recompiling the project &amp;nbsp;(so by user code)?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The other way is to use the serial number of the LPC11C24. But is it possible, from the NXP LPC11C24 serial number to generate a unique 6 digit serial number ?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;thanks&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 09:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-Serial-number-in-flash-memory/m-p/663933#M26503</guid>
      <dc:creator>gfa</dc:creator>
      <dc:date>2017-02-23T09:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC11C24 - Serial number in flash memory</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-Serial-number-in-flash-memory/m-p/663934#M26504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can store whatever you like in Flash, by using IAP (read the User Manual to find how to program the flash in your code, using IAP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that flash has a minimum program size (page) which is typically 256 bytes or more, so to change just 6 bytes, you would need to read an&amp;nbsp;entire page into RAM, erase the page, change the bytes in the RAM copy, and then write RAM copy back into flash. Alternatively, you could just reserve a whole page (preferably at or near the top of flash) and overwrite the whole page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many questions (and answers) on this forum about&amp;nbsp;the subject of emulating eprom in flash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 09:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC11C24-Serial-number-in-flash-memory/m-p/663934#M26504</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-02-23T09:33:48Z</dc:date>
    </item>
  </channel>
</rss>

