<?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>S32KのトピックS32K3 FLS  Disable Cache</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-FLS-Disable-Cache/m-p/1856576#M34766</link>
    <description>&lt;P&gt;Dear NXP：&lt;/P&gt;&lt;P&gt;I saw the below statement in the FLS driver:&lt;BR /&gt;Synchronize the memory by invalidating the cache after each flash hardware operation.&lt;BR /&gt;The FLS driver needs to maintain the memory coherency using three methods:&lt;BR /&gt;1. Disable data cache, or&lt;BR /&gt;2. Configure the flash region upon which the driver operates, as non-cacheable, or&lt;BR /&gt;3. Enable the FlsSynchronizeCache feature.&lt;/P&gt;&lt;P&gt;Depending on the application configuration, one option may be more beneficial.&lt;/P&gt;&lt;P&gt;When I want to Disable the FLS data cache, can I add the following macro definition to the FEE.c file,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LHY_0-1714378310488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276405i74A7DE8CB0F991B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LHY_0-1714378310488.png" alt="LHY_0-1714378310488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As for why I Disable Cache, when I execute data flash and init Fls functions during normal operation of the program, a small probability of HardFault will occur, as shown in the following figure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LHY_1-1714378604022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276406iF783D5B326021949/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LHY_1-1714378604022.png" alt="LHY_1-1714378604022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2024 08:34:09 GMT</pubDate>
    <dc:creator>LHY</dc:creator>
    <dc:date>2024-04-29T08:34:09Z</dc:date>
    <item>
      <title>S32K3 FLS  Disable Cache</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-FLS-Disable-Cache/m-p/1856576#M34766</link>
      <description>&lt;P&gt;Dear NXP：&lt;/P&gt;&lt;P&gt;I saw the below statement in the FLS driver:&lt;BR /&gt;Synchronize the memory by invalidating the cache after each flash hardware operation.&lt;BR /&gt;The FLS driver needs to maintain the memory coherency using three methods:&lt;BR /&gt;1. Disable data cache, or&lt;BR /&gt;2. Configure the flash region upon which the driver operates, as non-cacheable, or&lt;BR /&gt;3. Enable the FlsSynchronizeCache feature.&lt;/P&gt;&lt;P&gt;Depending on the application configuration, one option may be more beneficial.&lt;/P&gt;&lt;P&gt;When I want to Disable the FLS data cache, can I add the following macro definition to the FEE.c file,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LHY_0-1714378310488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276405i74A7DE8CB0F991B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LHY_0-1714378310488.png" alt="LHY_0-1714378310488.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As for why I Disable Cache, when I execute data flash and init Fls functions during normal operation of the program, a small probability of HardFault will occur, as shown in the following figure.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LHY_1-1714378604022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276406iF783D5B326021949/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LHY_1-1714378604022.png" alt="LHY_1-1714378604022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 08:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-FLS-Disable-Cache/m-p/1856576#M34766</guid>
      <dc:creator>LHY</dc:creator>
      <dc:date>2024-04-29T08:34:09Z</dc:date>
    </item>
  </channel>
</rss>

