<?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 K82 : pflash SDK example in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-pflash-SDK-example/m-p/911414#M53415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SDK's plash example as part of internal flash manipulation routines, you also&amp;nbsp; ivalidate L1 and FtFx caches :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Post-preparation work about flash Cache/Prefetch/Speculation. */&lt;BR /&gt; FTFx_CACHE_ClearCachePrefetchSpeculation(&amp;amp;s_cacheDriver, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L1CACHE_InvalidateCodeCache();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is this are mandatory operations if caches is NOT going to be initialised at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those flash routines going to be used in custom bootloader what flash new firmware to some space&lt;/P&gt;&lt;P&gt;and jump to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any extra performance is no need and for simplify bootloader is possible to disable OR no init any code cache&lt;/P&gt;&lt;P&gt;at all ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or those code cache operations must to be activated and used as in example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2019 12:52:43 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2019-08-12T12:52:43Z</dc:date>
    <item>
      <title>K82 : pflash SDK example</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-pflash-SDK-example/m-p/911414#M53415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SDK's plash example as part of internal flash manipulation routines, you also&amp;nbsp; ivalidate L1 and FtFx caches :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Post-preparation work about flash Cache/Prefetch/Speculation. */&lt;BR /&gt; FTFx_CACHE_ClearCachePrefetchSpeculation(&amp;amp;s_cacheDriver, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;L1CACHE_InvalidateCodeCache();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is this are mandatory operations if caches is NOT going to be initialised at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those flash routines going to be used in custom bootloader what flash new firmware to some space&lt;/P&gt;&lt;P&gt;and jump to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any extra performance is no need and for simplify bootloader is possible to disable OR no init any code cache&lt;/P&gt;&lt;P&gt;at all ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or those code cache operations must to be activated and used as in example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 12:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-pflash-SDK-example/m-p/911414#M53415</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2019-08-12T12:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: K82 : pflash SDK example</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-pflash-SDK-example/m-p/911415#M53416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't any initialization code for the cache, by default the flash module uses the flash cache, so you have to disable the cache explicitly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please check the following document in &lt;A href="https://www.nxp.com/docs/en/application-note/AN4745.pdf"&gt;this &lt;/A&gt;link ? I would recommend you to check especially the section &lt;EM style="color: #993366; "&gt;4.4 Cache coherency&lt;/EM&gt;&amp;nbsp; in recommended actions for the case of flash operations erase/program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 20:45:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-pflash-SDK-example/m-p/911415#M53416</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-08-14T20:45:08Z</dc:date>
    </item>
  </channel>
</rss>

