<?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: EMWIN QSPI BOOTING IN i.MXRT EVKB in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784704#M2597</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip on the i.MXRT1020 EVK nor configuration file.&amp;nbsp; That fixed my connection problem with MCUXpresso (my home-brew QSPI flash driver operating at 50 MHz always failed on programming, although I could erase).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2018 15:58:07 GMT</pubDate>
    <dc:creator>scott_thompson</dc:creator>
    <dc:date>2018-07-09T15:58:07Z</dc:date>
    <item>
      <title>EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784699#M2592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have few queries regarding emWin booting in i.MXRT EVKB&amp;nbsp; usig QSPI boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;1.&amp;nbsp; Has anybody tried flashing emWin GUI demo program to QSPI ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using MCUXpresso . This IDE does not have spi flash driver only hyper flash is available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2. Does any of the MCUXpresso latest release supports SPI flash driver ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The MCUXpresso 10.2 doesnot have SPI flash driver support&amp;nbsp; so I tried the FLASHLOADER to flash the emwin afx file to QSPI. But this got failed in the first step of converting the&amp;nbsp; afx to bin file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; elftosb.exe -f imx -V -c ../../bd_file/imx10xx/imx-flexspinor-normal-unsigned.bd -o gui.bin&amp;nbsp;emwin.afx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;Also I tried the below step.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Made&amp;nbsp;&amp;nbsp;XIP_EXTERNAL_FLASH=1 ,XIP_BOOT_HEADER_ENABLE=1 and&amp;nbsp;XIP_BOOT_HEADER_DCD_ENABLE=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and changed the code under&amp;nbsp;evkbimxrt1050_flexspi_nor_config.c to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "evkbimxrt1050_flexspi_nor_config.h"&lt;/P&gt;&lt;P&gt;/*******************************************************************************&lt;BR /&gt; * Code&lt;BR /&gt; ******************************************************************************/&lt;BR /&gt;#if defined(XIP_BOOT_HEADER_ENABLE) &amp;amp;&amp;amp; (XIP_BOOT_HEADER_ENABLE == 1)&lt;BR /&gt;#if defined(__CC_ARM) || defined(__GNUC__)&lt;BR /&gt;__attribute__((section(".boot_hdr.conf")))&lt;BR /&gt;#elif defined(__ICCARM__)&lt;BR /&gt;#pragma location = ".boot_hdr.conf"&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;const flexspi_nor_config_t qspiflash_config = {&lt;BR /&gt; .memConfig =&lt;BR /&gt; {&lt;BR /&gt; .tag = FLEXSPI_CFG_BLK_TAG,&lt;BR /&gt; .version = FLEXSPI_CFG_BLK_VERSION,&lt;BR /&gt; .readSampleClkSrc = kFlexSPIReadSampleClk_LoopbackFromDqsPad,&lt;BR /&gt; .csHoldTime = 3u,&lt;BR /&gt; .csSetupTime = 3u,&lt;BR /&gt; .columnAddressWidth = 0u,&lt;BR /&gt; .configCmdEnable = 0u,&lt;BR /&gt; // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock&lt;BR /&gt; .controllerMiscOption = 0u,&lt;BR /&gt; .deviceType = kFlexSpiDeviceType_SerialNOR,&lt;BR /&gt; .sflashPadType = kSerialFlash_4Pads,&lt;BR /&gt; .serialClkFreq = kFlexSpiSerialClk_133MHz,&lt;BR /&gt; .lutCustomSeqEnable = 0u,&lt;BR /&gt; .sflashA1Size = 0x00800000u, /*8 MB/64 Mbit */&lt;BR /&gt; .dataValidTime = {16u, 16u},&lt;BR /&gt; .lookupTable =&lt;BR /&gt; {&lt;BR /&gt; // Read LUTs&lt;BR /&gt; [0] = FLEXSPI_LUT_SEQ(CMD_DDR, FLEXSPI_1PAD, 0xEB, RADDR_DDR, FLEXSPI_4PAD, 0x18),&lt;BR /&gt; [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x02),&lt;BR /&gt; [2] = FLEXSPI_LUT_SEQ(STOP,0,0,STOP,0,0),&lt;BR /&gt; [3] = FLEXSPI_LUT_SEQ(STOP,0,0,STOP,0,0),&lt;/P&gt;&lt;P&gt;},&lt;BR /&gt; },&lt;BR /&gt;};&lt;BR /&gt;#endif /* XIP_BOOT_HEADER_ENABLE */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After buildinf the afx file . The FLASHLOADER process was succesful and the image flashed to QSPI but there was no positive result .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 12:25:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784699#M2592</guid>
      <dc:creator>anjalikkrishna</dc:creator>
      <dc:date>2018-07-05T12:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784700#M2593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="263910" data-username="anjalikkrishna" href="https://community.nxp.com/people/anjalikkrishna"&gt;Anjalik Krishna&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have your read this AN about " How to Enable Boot from QSPI Flash " :&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12108.pdf" title="https://www.nxp.com/docs/en/application-note/AN12108.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12108.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 08:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784700#M2593</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-07-06T08:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784701#M2594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have already gone through the document and the hello world QSPI flashing is successful. My question is about the emWin application flashing to QSPI. The same process of flashing for hello world is not working for emWin GUI Demo application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether emWin applications has different procedure for QSPI flashing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no other choice but to use McuXpresso. Unfortunately all the documents are for iAR IDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 09:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784701#M2594</guid>
      <dc:creator>anjalikkrishna</dc:creator>
      <dc:date>2018-07-06T09:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784702#M2595</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;In MCUXpresso's "Post Build Steps" configuration options, uncomment the .axf to .bin conversion utility to generate a .bin file directly from MCUXpresso:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MfgTool can directly use this .bin file (called boot_image.bin or whatever you call it in your MfgTool .xml configuration) without having to go the "elftosb" route (which can crash when trying to perform non-XiP code relocation BTW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTANT!&amp;nbsp; Make sure your QSPI memory region points to 0x60000000!&amp;nbsp; If not, the IVT region in the linker doesn't get kept (that was fun to track down).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Scott Thompson, TC Helicon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 16:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784702#M2595</guid>
      <dc:creator>scott_thompson</dc:creator>
      <dc:date>2018-07-06T16:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784703#M2596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCUXpresso IDE v10.2.0 &lt;STRONG&gt;does&lt;/STRONG&gt; ship with a flash driver compatible with the QSPI device fitted to the i.MX RT1050 EVK(B) board, which can be used to program and debug from QSPI&amp;nbsp;flash (after you have made the appropriate modifications to the EVK board).&amp;nbsp;The flash driver is call: MIMXRT1050-EVK_IS25WP064A.cfx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ This is mentioned in the release notes at&amp;nbsp;&lt;A href="https://community.nxp.com/migration-blogpost/10933"&gt;MCUXpresso IDE v10.2.0 Now Available&lt;/A&gt;, with more details in section&amp;nbsp;14.2.3 "i.MX RT QSPI and Hyper Flash Drivers" in the MCUXpresso IDE v10.2 User Guide.]&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to use the IDE's memory configuration editor to modify your project so as to select this flash driver instead of the default, Hyperflash driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, you will also need to replace the file "evkbimxrt1050_flexspi_nor_config.c" in&amp;nbsp;the xip folder, with one suitable for the QSPI device. The easiest way to do this is to download the SDK package for the i.MX RT1020 EVK from mcuxpresso.nxp.com, and extract the file "evkmimxrt1020_flexspi_nor_config.c" (plus the corresponding .h file) and put this into your &lt;SPAN&gt; i.MX RT1050 EVK(B)&amp;nbsp;&lt;/SPAN&gt;project's "xip" folder.&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>Sun, 08 Jul 2018 11:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784703#M2596</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-07-08T11:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: EMWIN QSPI BOOTING IN i.MXRT EVKB</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784704#M2597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip on the i.MXRT1020 EVK nor configuration file.&amp;nbsp; That fixed my connection problem with MCUXpresso (my home-brew QSPI flash driver operating at 50 MHz always failed on programming, although I could erase).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 15:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/EMWIN-QSPI-BOOTING-IN-i-MXRT-EVKB/m-p/784704#M2597</guid>
      <dc:creator>scott_thompson</dc:creator>
      <dc:date>2018-07-09T15:58:07Z</dc:date>
    </item>
  </channel>
</rss>

