<?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 56F8013: Flash in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163234#M907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;I need to store a parameter in the flash. The problem is that I need to store it something like 300'000 during all the life time of the board, and the flash has a number erase-write cycles = 10'000 (minimum).&lt;BR /&gt;I'm thinking of using an array to stoer sequentially the parameter (that is something that continues to grow, so it's not very difficult to get the last value), but my question is:&lt;BR /&gt;How is the flash erased? Words, Banks, ...?&lt;BR /&gt;Because, if it's erased in words it's ok, I can do what I've written before, if the erase procedure erase more than a word using an array is useless because every time I erase and write all the array is erased and rewritten...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Bye Jack&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 23:35:38 GMT</pubDate>
    <dc:creator>jag</dc:creator>
    <dc:date>2007-11-12T23:35:38Z</dc:date>
    <item>
      <title>56F8013: Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163234#M907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;I need to store a parameter in the flash. The problem is that I need to store it something like 300'000 during all the life time of the board, and the flash has a number erase-write cycles = 10'000 (minimum).&lt;BR /&gt;I'm thinking of using an array to stoer sequentially the parameter (that is something that continues to grow, so it's not very difficult to get the last value), but my question is:&lt;BR /&gt;How is the flash erased? Words, Banks, ...?&lt;BR /&gt;Because, if it's erased in words it's ok, I can do what I've written before, if the erase procedure erase more than a word using an array is useless because every time I erase and write all the array is erased and rewritten...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Bye Jack&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2007 23:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163234#M907</guid>
      <dc:creator>jag</dc:creator>
      <dc:date>2007-11-12T23:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8013: Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163235#M908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT color="#6633FF" size="4"&gt;Hi Jack,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#6633FF" size="4"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#6633FF" size="4"&gt;The flash can be erased by pages or can be mass erased ( the flash whole block is erased). Programing a bit makes the bit to 0, while erasing a page makes all bits in the page to 1s.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#6633FF" size="4"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000ff" size="4"&gt;You&amp;nbsp;can use multiple pages to&amp;nbsp;get high endurance by emulating EEPROM. This&amp;nbsp;is because it reduces&amp;nbsp;the number&amp;nbsp;of erase cycles.&amp;nbsp;For example, you want 256 words with 100K cycles endurance.&amp;nbsp;&amp;nbsp;What you can do is to&amp;nbsp;reserve 10x256 words (please note that typical flash&amp;nbsp;endurance&amp;nbsp;of erase cycles is 10K) &amp;nbsp;for this purpose.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;1)&amp;nbsp;1st program is to program information into 1st 256 words.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;2) 2nd program is to program zeros into 1st 256 words and information into 2nd 256 words.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;......&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;10) 10th program is to program zeros into 9th 256 words and information into 10th 256 words.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;11)&amp;nbsp;Erase all 10 x 256 words, then go to step 1.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" face="Arial" size="4"&gt;So useful information always starts from non-zero data.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;Hope it helps.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;Best Regards,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="912532506-12032006"&gt;&lt;FONT color="#0000ff" size="4"&gt;Dragon&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;!--  Converted from text/plain format  --&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 10:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163235#M908</guid>
      <dc:creator>william_jiang</dc:creator>
      <dc:date>2007-11-21T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8013: Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163236#M909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, thanks for the answer.&lt;BR /&gt;Unfortunately I don't have so much pages to spend for parameters saving.&lt;BR /&gt;I found out another method:&lt;BR /&gt;I use only one page.&lt;BR /&gt;luckily I need only 15 bit for the parameter, so I have 1 bit in the word that I can use like "bookmark".&lt;BR /&gt;If the bookmark is 1 the cell is free and I can write on it, if the bookmark is 0 the cell is used.&lt;BR /&gt;I can use a number of cells &amp;lt; 256 (I use 64). I write on the first cell that has the bookmark == 1. (when I read I use the last cell with bookmark ==0). When I used all the cells I make an erase page and I reastart from the beginning.&lt;BR /&gt;&lt;BR /&gt;I use the HFM driver for read write (unbuffered) and page erase.&lt;BR /&gt;&lt;BR /&gt;Bye Jack&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163236#M909</guid>
      <dc:creator>jag</dc:creator>
      <dc:date>2007-11-21T15:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: 56F8013: Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163237#M910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;You're welcome. I agree. it is also a good way&amp;nbsp;using single bit as a mark for each word. Good Luck!&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 15:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/56F8013-Flash/m-p/163237#M910</guid>
      <dc:creator>william_jiang</dc:creator>
      <dc:date>2007-11-21T15:29:46Z</dc:date>
    </item>
  </channel>
</rss>

