<?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 What constitutes P/E cycle in internal flash memory. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-constitutes-P-E-cycle-in-internal-flash-memory/m-p/524711#M7347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 00zigor on Tue Nov 18 07:13:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Fellow adventurers of the LPC Kingdom.&amp;nbsp; :bigsmile: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm begining my adventure at "The Cave of Internal FLASH" on my LPC1769 custom board and the following question is bugging me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the definition for a Program/Erase cycle on flash memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that it is only possible to change bits from 1 to 0 on the internal FLASH and that the only way to restore a bit from 0 to 1 is to erase the entire sector, and I can live with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also know that it is not recommended to write less than 16 bytes of memory due to ECC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, if I have a Byte with value 0x4D (01001101) already stored at a FLASH address and I try so send the same value to the same address, does that constitues a program cycle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is the P/E cycle only defined by the change in the state of a said bit? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e: A radom bit changing its state from 1 to 0 (Program cycle), or changing from 0 to 1 (Erase cycle).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May the fortune guide you in your journey.&amp;nbsp; 8-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:09:30 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:09:30Z</dc:date>
    <item>
      <title>What constitutes P/E cycle in internal flash memory.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/What-constitutes-P-E-cycle-in-internal-flash-memory/m-p/524711#M7347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by 00zigor on Tue Nov 18 07:13:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Fellow adventurers of the LPC Kingdom.&amp;nbsp; :bigsmile: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm begining my adventure at "The Cave of Internal FLASH" on my LPC1769 custom board and the following question is bugging me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the definition for a Program/Erase cycle on flash memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that it is only possible to change bits from 1 to 0 on the internal FLASH and that the only way to restore a bit from 0 to 1 is to erase the entire sector, and I can live with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also know that it is not recommended to write less than 16 bytes of memory due to ECC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, if I have a Byte with value 0x4D (01001101) already stored at a FLASH address and I try so send the same value to the same address, does that constitues a program cycle?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is the P/E cycle only defined by the change in the state of a said bit? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e: A radom bit changing its state from 1 to 0 (Program cycle), or changing from 0 to 1 (Erase cycle).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May the fortune guide you in your journey.&amp;nbsp; 8-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/What-constitutes-P-E-cycle-in-internal-flash-memory/m-p/524711#M7347</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:09:30Z</dc:date>
    </item>
  </channel>
</rss>

