<?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>MPC5xxxのトピックRe: MPC5643L flash driver execution from SRAM</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616186#M5209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you for the fast answer.&lt;/P&gt;&lt;P&gt;CACHE invalidation seems a good solution and I am obtaining good results.&lt;/P&gt;&lt;P&gt;Thank you very much again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea Mocci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 13:22:44 GMT</pubDate>
    <dc:creator>ziomocci</dc:creator>
    <dc:date>2016-09-14T13:22:44Z</dc:date>
    <item>
      <title>MPC5643L flash driver execution from SRAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616184#M5207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;In our application, SSD C90FL&amp;nbsp;drivers are executed directly from ROM.&lt;/P&gt;&lt;P&gt;Because&amp;nbsp;I have encountered few read-while-write problems,&amp;nbsp;I am moving drivers execution from ROM to SRAM.&lt;/P&gt;&lt;P&gt;Anyway, I am now in trouble with CACHE management (and CACHE&amp;nbsp;enabled is needed by the high level SW control) during&amp;nbsp;Flash driver execution from&amp;nbsp;SRAM.&lt;/P&gt;&lt;P&gt;The only way would be&amp;nbsp;to disable&amp;nbsp;CACHE, but, as specified above, I would like to (or better, I have to) avoid CACHE disabling.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the question is: Is it posible (and if yes, how) to execute Flash drivers from SRAM and keep CACHE enabled at the same time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion would be very appreciated!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea Mocci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 15:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616184#M5207</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2016-09-13T15:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5643L flash driver execution from SRAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616185#M5208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there's no problem with SSD flash driver and cache. But there's a problem with cache and flash programming.&lt;/P&gt;&lt;P&gt;The best way is to keep the cache disabled during flash programming. If you need to keep the cache enabled then:&lt;/P&gt;&lt;P&gt;- configure the cache as write-through. Do not use write-back mode. (you have to ensure that you write directly to flash, not just to cache)&lt;/P&gt;&lt;P&gt;- invalidate the cache after each program/erase operation to ensure data coherency. You can invalidate whole cache or just required area.&lt;/P&gt;&lt;P&gt;- if you don't want to invalidate the cache each time, configure required flash area as cache inhibited using the MMU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 07:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616185#M5208</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-09-14T07:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5643L flash driver execution from SRAM</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616186#M5209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you for the fast answer.&lt;/P&gt;&lt;P&gt;CACHE invalidation seems a good solution and I am obtaining good results.&lt;/P&gt;&lt;P&gt;Thank you very much again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrea Mocci&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5643L-flash-driver-execution-from-SRAM/m-p/616186#M5209</guid>
      <dc:creator>ziomocci</dc:creator>
      <dc:date>2016-09-14T13:22:44Z</dc:date>
    </item>
  </channel>
</rss>

