<?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: create cfx from source code ? in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833858#M3185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are building the Debug build configuration, which just builds the .axf file. If you build one of the release configurations, then it will create the .cfx file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that a .cfx file is just a renamed .axf file - there is no other difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Sep 2018 09:17:49 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2018-09-23T09:17:49Z</dc:date>
    <item>
      <title>create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833855#M3182</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;&lt;/P&gt;&lt;P&gt;We need to use hyperFlash S71KS512 , but MCUXpresso supports only&amp;nbsp;S26KS512S.&lt;/P&gt;&lt;P&gt;Yet, the source code for HyperFlash driver is provided with &lt;SPAN&gt;MCUXpresso&amp;nbsp;&lt;/SPAN&gt;IDE:&lt;/P&gt;&lt;P&gt;The problem is that the project creates axf file, while the required format in IDE is&amp;nbsp;&lt;SPAN&gt;cfx (such as&amp;nbsp;&lt;/SPAN&gt;MIMXRT1050-EVK_S26KS512S.cfx )&lt;/P&gt;&lt;P&gt;Is it required to convert axf to cfx ? How ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833855#M3182</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-17T14:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833856#M3183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you are using i.MX RT1050, you should be able to just use the&amp;nbsp;"MIMXRT1050_SFDP_HYPERFLASH.cfx" driver. For more details, please see:&amp;nbsp;&lt;A href="https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2017/12/07/overview-of-using-the-mimxrt1050-evk-with-mcuxpresso-ide"&gt;https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2017/12/07/overview-of-using-the-mimxrt1050-evk-with-mcuxpresso-ide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: With regards to the example flash driver project - which, if the SFDP driver works, you won't need - IIRC the .cfx file is created automatically in the "builds" subdirectory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:34:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833856#M3183</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-09-17T16:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833857#M3184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Right, I use&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;i.MX RT1050.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I did try the following;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1. extracted&amp;nbsp;iMXRT1050_HyperFlash zip&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2. imported the folder into MCUXpresso&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3. build the project&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Build is done successfully and .axf is created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Yet, the build folder is empty (actually it contains a prebuilt cfx file, but if I erase it, no new file created)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From build log:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;.....&lt;BR /&gt;Finished building: ../board/clock_config.c&lt;BR /&gt; &lt;BR /&gt;Finished building: ../board/pin_mux.c&lt;BR /&gt; &lt;BR /&gt;Finished building: ../CMSIS/system_MIMXRT1052.c&lt;BR /&gt; &lt;BR /&gt;Building target: iMXRT1050_HyperFlash.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -L"C:\projects\rafael\mcu\LPCXFlashDriverLib\Release" -Xlinker -Map="iMXRT1050_HyperFlash.map" -Xlinker --gc-sections -mcpu=cortex-m7 -mthumb -T "FlashDriver_Test.ld" -L ../linkscripts -o "iMXRT1050_HyperFlash.axf" ./utilities/fsl_assert.o ./utilities/fsl_debug_console.o ./utilities/fsl_io.o ./utilities/fsl_log.o ./utilities/fsl_str.o ./test/cr_startup_cm7.o ./test/test_main.o ./src/FlashDev.o ./src/FlashPrg.o ./src/checkblank.o ./hypersources/flexspi_hyper_flash.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_flexspi.o ./drivers/fsl_gpio.o ./drivers/fsl_lpuart.o ./board/board.o ./board/clock_config.o ./board/pin_mux.o ./CMSIS/system_MIMXRT1052.o -lLPCXFlashDriverLib&lt;BR /&gt;Finished building target: iMXRT1050_HyperFlash.axf&lt;/P&gt;&lt;P&gt;19:41:12 Build Finished (took 5s.899ms)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks for any idea,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ranran&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 16:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833857#M3184</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-17T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833858#M3185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are building the Debug build configuration, which just builds the .axf file. If you build one of the release configurations, then it will create the .cfx file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that a .cfx file is just a renamed .axf file - there is no other difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 09:17:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833858#M3185</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2018-09-23T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833859#M3186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/converse"&gt;converse&lt;/A&gt;‌ :&amp;nbsp;Yes, a .cfx is effectively a renamed .axf (so we can tell it is a LinkServer flash driver). However the actual layout and content of the image do not match that of a standard ARM executable (as the flash driver is executed directly under debug control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ranshalit"&gt;ranshalit&lt;/A&gt;‌ : I am curious if you actually tried using the SFDP driver that we previously referred you to. That should be able to program the flash without you needing to create your own bespoke flash driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 08:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833859#M3186</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-09-24T08:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: create cfx from source code ?</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833860#M3187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;No, I haven't tried to use the same hyperFlash driver (which is used with EVK board which contains&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;S26KS512S )&amp;nbsp;&lt;/SPAN&gt;with our hyperFlash&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;S71KS512&lt;SPAN&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Actually, we haven't build the board yet, it is still under design, we just try to figure out if our design and concept should work with current tools and drivers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;The first we shall try is to use the same driver as you suggested.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Yet, since there are obviously some differences between these 2 memory chips(?) some modifications might be required, so we wanted to be sure that we can make these modifications ourselves (as an alternative, if it is intended to be added in MCUXpresso next releases it can also be helpful).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&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;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 09:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/create-cfx-from-source-code/m-p/833860#M3187</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-24T09:16:27Z</dc:date>
    </item>
  </channel>
</rss>

