<?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: Can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798958#M32128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon Prentice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"LPCXpresso IDE v7.9.0 introduced an improved flash driver mechanism for SPIFI flash. Now a project targeting SPIFI flash only has to specify a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”. When a flash programming operation is performed, this driver will first interrogate the SPIFI device and determine its type, size, and configuration, which are then reported back to the host debug driver. Using this information the correct optimized programming routines for the SPIFI device detected can be used." you can find this and some more information about the flash driver in the link below.&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/LPCXpresso_IDE_User_Guide.pdf."&gt;LPCXpresso IDE User Guide&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MCUXpresso IDE the same thing happen, only has a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”, and as the example was created for the previous version of the LPCXpressp IDE, use the pass flash driver "LPC18_43_SPIFI_1MB_4KB.cfx" for that reason I recommended to use the examples that LPCOpen include, are more update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if you want to run this example, you have to change the default flash driver, for that go to the properties of the project (Select and press Alt + Enter), C/C++ build &amp;gt;&amp;gt; MCU settings and there you have the Memory details section where say which is the default flash driver.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUSe.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65366iC667864B7696E5A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUSe.png" alt="MCUSe.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Click edit &amp;gt;&amp;gt; Browse... in the default flash driver and then you have to search the file called “LPC18_43_SPIFI_GENERIC.cfx” apply the changes and with that, you are going to be able to run the example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2018 15:55:52 GMT</pubDate>
    <dc:creator>miguel_mendoza</dc:creator>
    <dc:date>2018-07-11T15:55:52Z</dc:date>
    <item>
      <title>Can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798957#M32127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;This is an extension to "Trying to build LPC4370_LEDblinky with MCUXpresso" in LPC Microcontrollers&lt;/DIV&gt;&lt;DIV&gt;The project (LPC4370_LEDblinky) now builds but when attempting to start a debug session I get an error related to LPC18_43_SPIFI_1MB_4KB.cfx (shown in full at the end of this question).&lt;/DIV&gt;&lt;DIV&gt;I've seen a number of existing threads which seem to relate to this for LPCXpresso but I can't find the right files to import to get it to work in MCUXpresso.&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;There are some specific comments regarding LPC18_43_SPIFI_1MB_4KB.cfx in &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="11529" data-containertype="14" data-objectid="389075" data-objecttype="1" href="https://community.nxp.com/thread/389075"&gt;https://community.nxp.com/message/630716&lt;/A&gt;&lt;BR /&gt;"&lt;BR /&gt;Alias flash drivers&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;For compatibility with projects created with earlier LPCXpresso IDE releases, a number of other flash driver files are supplied which are just renamed versions of the standard drivers above. The use of these 'alias' drivers in not recommend, as they may not be shipped with future LPCXpresso IDE releases.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The following is a list of alias flash drivers, with the recommended replacement driver listed in each case.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;...LPC18_43_SPIFI_1MB_4KB.cfx -&amp;gt; LPC18_43_SPIFI_1MB_64KB.cfx&lt;/DIV&gt;&lt;DIV&gt;Note: that the aliased driver - LPC18_43_SPIFI_1MB_4KB.cfx - is provided specifically to allow some existing projects using the LPC-Link2 as an LPC4370 evaluation board to continue working. It is not a true 4KB sector driver, it is just that the original LPCXpresso SPIFI flash driver mechanism treated the W25Q80BV device as a 4KB sector device (whereas the current mechanism uses it as a 64KB sector device).&lt;BR /&gt;"&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Any thoughts on how I can get this example to work in MCUXpresso?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;Target reported errors&lt;/DIV&gt;&lt;DIV&gt;Reason:&lt;BR /&gt;can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory&lt;/DIV&gt;&lt;DIV&gt;can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory&lt;BR /&gt;flash driver directories:&lt;BR /&gt;--flash-dir "C:\nxp\MCUXpressoIDE_10.2.0_759\ide\bin\Flash"&lt;BR /&gt;Debugging context: LPC4370_LEDblinky LinkServer Debug&lt;BR /&gt;---------------------&lt;BR /&gt;Related Threads&lt;/DIV&gt;&lt;DIV&gt;LPC18xx / LPC43xx SPIFI Flash Drivers&lt;BR /&gt;&lt;A class="jive-link-thread-small" data-containerid="11529" data-containertype="14" data-objectid="389076" data-objecttype="1" href="https://community.nxp.com/thread/389076"&gt;https://community.nxp.com/thread/389076&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;LPC18xx / LPC43xx External Flash Drivers&lt;BR /&gt;&lt;A class="jive-link-thread-small" data-containerid="11529" data-containertype="14" data-objectid="389079" data-objecttype="1" href="https://community.nxp.com/thread/389079"&gt;https://community.nxp.com/thread/389079&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;LPC18xx / LPC43xx SPIFI Flash Drivers (v7.6.0 to v 7.8.0)&lt;BR /&gt;&lt;A class="jive-link-thread-small" data-containerid="11529" data-containertype="14" data-objectid="389075" data-objecttype="1" href="https://community.nxp.com/thread/389075"&gt;https://community.nxp.com/message/630716&lt;/A&gt;&lt;BR /&gt;---------------------&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 10:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798957#M32127</guid>
      <dc:creator>simon_prentice</dc:creator>
      <dc:date>2018-07-10T10:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798958#M32128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon Prentice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"LPCXpresso IDE v7.9.0 introduced an improved flash driver mechanism for SPIFI flash. Now a project targeting SPIFI flash only has to specify a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”. When a flash programming operation is performed, this driver will first interrogate the SPIFI device and determine its type, size, and configuration, which are then reported back to the host debug driver. Using this information the correct optimized programming routines for the SPIFI device detected can be used." you can find this and some more information about the flash driver in the link below.&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/LPCXpresso_IDE_User_Guide.pdf."&gt;LPCXpresso IDE User Guide&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In MCUXpresso IDE the same thing happen, only has a single Generic flash driver: “LPC18_43_SPIFI_GENERIC.cfx”, and as the example was created for the previous version of the LPCXpressp IDE, use the pass flash driver "LPC18_43_SPIFI_1MB_4KB.cfx" for that reason I recommended to use the examples that LPCOpen include, are more update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, if you want to run this example, you have to change the default flash driver, for that go to the properties of the project (Select and press Alt + Enter), C/C++ build &amp;gt;&amp;gt; MCU settings and there you have the Memory details section where say which is the default flash driver.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MCUSe.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65366iC667864B7696E5A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="MCUSe.png" alt="MCUSe.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Click edit &amp;gt;&amp;gt; Browse... in the default flash driver and then you have to search the file called “LPC18_43_SPIFI_GENERIC.cfx” apply the changes and with that, you are going to be able to run the example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 15:55:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798958#M32128</guid>
      <dc:creator>miguel_mendoza</dc:creator>
      <dc:date>2018-07-11T15:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't find the default flash driver 'LPC18_43_SPIFI_1MB_4KB.cfx' in a flash directory</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798959#M32129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;I replaced the driver with LPC18_43_SPIFI_GENERIC as you suggested and it works!&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 09:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Can-t-find-the-default-flash-driver-LPC18-43-SPIFI-1MB-4KB-cfx/m-p/798959#M32129</guid>
      <dc:creator>simon_prentice</dc:creator>
      <dc:date>2018-07-12T09:24:06Z</dc:date>
    </item>
  </channel>
</rss>

