<?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 Flashx, Some more Detail in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206483#M4877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone shed some light on exactly what and why these would be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_FLUSH_BUFFER&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_BUFFERING&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_SECTOR_CACHE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some information on these in the MQXIOUG.pdf, but nothing seems to say why these exsist i.e. whats their use? Obviously they are there for a reason...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 13:55:20 GMT</pubDate>
    <dc:creator>CarlFST60L</dc:creator>
    <dc:date>2009-08-11T13:55:20Z</dc:date>
    <item>
      <title>Flashx, Some more Detail</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206483#M4877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone shed some light on exactly what and why these would be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_FLUSH_BUFFER&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_BUFFERING&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_SECTOR_CACHE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some information on these in the MQXIOUG.pdf, but nothing seems to say why these exsist i.e. whats their use? Obviously they are there for a reason...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 13:55:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206483#M4877</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2009-08-11T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Flashx, Some more Detail</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206484#M4878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try to explain it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_BUFFERING, FLASH_IOCTL_DISABLE_BUFFERING, FLASH_IOCTL_FLUSH_BUFFER&lt;/P&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;- in this mode driver internally allocate RAM buffer of FLASH sector size(4KB for MCF52259)&lt;/LI&gt;&lt;LI&gt;- if you writing to flash device writes to same sector are buffered and written to flash at once&lt;/LI&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FLASH_IOCTL_ENABLE_SECTOR_CACHE, FLASH_IOCTL_DISABLE_SECTOR_CACHE&lt;/P&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;- intend of this is RAM saving, but it restrict functionality of driver&lt;/LI&gt;&lt;LI&gt;- when you want to write new data to flash - driver have to store read current content of flash sector to RAM buffer, clear flash sector, modify data in buffer and write it back to flash. For this buffer of Flash sector size is required.&lt;/LI&gt;&lt;LI&gt;- if you know that you will do only listed actions, you do not need RAM buffer&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;* Incremental write to erased area&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;* Full sector write&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;* Partial sector overwrite when the remaining area of&lt;BR /&gt;&lt;BR /&gt;sector is erased.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;- this feature can be used e.g.. if you are saving whole parameter structure still on the same place in flash, overwriting all previously stored data.. Then you do not need quite big RAM sector buffer.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PetrL&lt;/P&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 04:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206484#M4878</guid>
      <dc:creator>PetrL</dc:creator>
      <dc:date>2009-08-12T04:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Flashx, Some more Detail</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206485#M4879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PetrL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by CarlFST60L on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-08-11&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;11:50 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 05:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Flashx-Some-more-Detail/m-p/206485#M4879</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2009-08-12T05:37:19Z</dc:date>
    </item>
  </channel>
</rss>

