<?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 Re: Difference in flashx driver for K60 bsp vs. K22 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510080#M16285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does MK22FN512CAP support the swap functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jan 2018 20:40:31 GMT</pubDate>
    <dc:creator>sreejithmenon</dc:creator>
    <dc:date>2018-01-31T20:40:31Z</dc:date>
    <item>
      <title>Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510075#M16280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We changed the processor on a board from the a K60 part to a K22, both with 512k of flash&lt;/P&gt;&lt;P&gt;The firmware is making use of the dual bank flash support in the chip for firmware updates using the swap functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I based the bsp for the K22 board on the bsp for the FRDMK22120M board.&amp;nbsp; It seems the flashx driver built for this bsp does not have support for the flash bank swapping.&lt;/P&gt;&lt;P&gt;Looking at the _bsp_flashx_file_blocks definition in init_flashx.c the "swap0" and "swap1" blocks are not defined.&lt;/P&gt;&lt;P&gt;The low level driver for the K22 bsp is also different, _flashx_ftfa_if vs. _flashx_ftfl_if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide guidance on what I will need to do to modifying the K22 bsp for the 512k flash part to take advantage of the dual banks of flash and swapping between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2016 03:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510075#M16280</guid>
      <dc:creator>dcooper</dc:creator>
      <dc:date>2016-04-17T03:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510076#M16281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For frdmK22 board, the MCU is K22FN512, the flash module is FTFA.&amp;nbsp; unfortunately, FTFA not support flash swap function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for K22FX512, the flash module is FTFE, it can support flash swap function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 04:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510076#M16281</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-04-18T04:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510077#M16282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;Can you provide guidance as to how to include the FTFE module my project.&lt;/P&gt;&lt;P&gt;I am using the IAR tool set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I included the flash_ftfe.c/h and flash_ftfe_prt.h files in the project and made changes in &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;init_flashx.c, but the project will not build because of a number of undefined values related to the FTFE module specific to the K22.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;The&amp;nbsp; MK22F51212.h file I have has several blocks of definitions for FTFA support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; I assume I need these definitions for the FTFE module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 16:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510077#M16282</guid>
      <dc:creator>dcooper</dc:creator>
      <dc:date>2016-04-18T16:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510078#M16283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Re reading your response, I see the statement that the FTFA module does not support flash swap.&lt;/P&gt;&lt;P&gt;We are using the MK22FN512VLH12 chip.&lt;/P&gt;&lt;P&gt;The hardware reference (document K22P121M120SF7RM), Chapter 29 for the FTFA module seems to indicate that the device flash is divided into two banks, that you can write to the non-active bank etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you clarify this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 22:47:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510078#M16283</guid>
      <dc:creator>dcooper</dc:creator>
      <dc:date>2016-04-18T22:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510079#M16284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For devices with two or more program flash memory blocks that have the p-flash swap feature, the system programmer can configure the logical memory map of the p-flash space such that either of the two physical p-flash can exist at relative address 0x00. MK22fn512VLH12 chip does not support this feature.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="swap.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35908i6DB8BEA75375EDCA/image-size/large?v=v2&amp;amp;px=999" role="button" title="swap.jpg" alt="swap.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need swap feature, I suggest you choose MK22FX512VLH12 or MK221M0VLH12, they support swap functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 12:19:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510079#M16284</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-04-20T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510080#M16285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does MK22FN512CAP support the swap functionality?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 20:40:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510080#M16285</guid>
      <dc:creator>sreejithmenon</dc:creator>
      <dc:date>2018-01-31T20:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510081#M16286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For MK22FN512CAP, the flash type is FTFA, not support swap functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 07:47:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510081#M16286</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-02-01T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in flashx driver for K60 bsp vs. K22</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510082#M16287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="312520" data-username="sreejithmenon" href="https://community.nxp.com/people/sreejithmenon"&gt;sreejith menon&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a compare between FTFA, FTFL, FTFE moduel, it could give you some idea.&lt;/P&gt;&lt;P&gt;1. Generally, FTFA exists in Kinetis L series. FTFL exists in Kinetis K series &amp;lt; 120 MHz product. FTFE exists in Kinetis K series &amp;gt; 100 Mhz product.&lt;/P&gt;&lt;P&gt;2 FTFL and FTFE are the same on function.&lt;/P&gt;&lt;P&gt;3 FTFA has not Flex Memory. FTFA has not flash swap function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One example is MK22FX512VLL12, and MK22FN1M0VLL12, they support swap feature, and the flash type is FTFE. You can refer to my attached reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 08:41:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Difference-in-flashx-driver-for-K60-bsp-vs-K22/m-p/510082#M16287</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-02-02T08:41:21Z</dc:date>
    </item>
  </channel>
</rss>

