<?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>i.MX ProcessorsのトピックRe: QSPI Flash RT1050 failure</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964624#M143745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, MIMXRT1050-EVK is the old board, it's better to use MIMXRT1050-EVKB board.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2019 04:43:51 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2019-07-25T04:43:51Z</dc:date>
    <item>
      <title>QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964622#M143743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a project with the NXP i.MXRT1050 family MIMXRT1052DVL6B processor. For preliminary testing I'm using the MIMXRT1050-EVK development kit. For the initial tests we are using the SDX provided by NXP. The Kit has 3 types of flash memory (Hyperflash, QSPI and SD card), the default boot being done by Hyperflash, just as the SDK examples are also configured to work with Hyperflash memory. In the kit Hyperflash memory shares pins with QSPI memory and these cannot be used simultaneously.&lt;/P&gt;&lt;P&gt;As my goal is to use QSPI memory, I removed Hyperflah memory from the kit, and used the hello_word (from SDK) example to work with QSPI memory, and I encounter driver error (image below).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82464i1749B5E90A03536B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Following I set up the same project (hello_word_ as images below and was able to write it in the kit, enter debug mode, but MCUXpresso can not execute the lines of code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82627i3422372E52F33D91/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82699i41EBC69E598F0E84/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82743i2258B349ADAEA8C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82538iE6B2482ECEB41DAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After using these settings, the errors below occurs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_10.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82791iBF83DF984FC54E5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_10.png" alt="pastedImage_10.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82503i7C48C1FB9D4ED891/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82465i113054E9A5E47FA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask for help in understanding and solving this problem.&lt;/P&gt;&lt;P&gt;From now, my sincere thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rubens Júnior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 21:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964622#M143743</guid>
      <dc:creator>rubensjunior</dc:creator>
      <dc:date>2019-07-24T21:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964623#M143744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-content-finding="Community" data-userid="341371" data-username="rubensjunior" href="https://community.nxp.com/people/rubensjunior"&gt;Rubens Junior&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;You totally don't need to remove the on board hyper flash, you just need to modify the resistor to make the qspi work.&lt;/P&gt;&lt;P&gt;Now please follow my way to do it again, I already make it work on both the MCUxpresso IDE and the IAR.&lt;BR /&gt;Please still use the board which already modify the on board resistor: USE QSPI FLASH(Mount R153~R158, DNP R356,R361~R366)&lt;BR /&gt;1. Change the on board opensda firmware to DAPLink v0244 - Supports onboard spi-flash&lt;BR /&gt;&amp;nbsp; 1)download k20dx_mimxrt1050_evk_qspi_if_crc_20180419.zip from this link:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://www.nxp.com/assets/downloads/data/en/initialization-boot-device-driver-code-generation/k20dx_mimxrt1050_evk_qspi_if_crc_20180419.zip" target="test_blank"&gt;https://www.nxp.com/assets/downloads/data/en/initialization-boot-device-driver-code-generation/k20dx_mimxrt1050_evk_qspi_if_crc_20180419.zip&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unzip it, you will get this .bin file:k20dx_mimxrt1050_evk_qspi_if_crc.bin&lt;BR /&gt;&amp;nbsp; 2) power off the board by unplug the usb cable&lt;BR /&gt;&amp;nbsp; 3) press the SW4 button and hold on it, then plug the usb cable, you can find a device named as "MAINTENANCE".&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then release the SW4 button.&lt;BR /&gt;&amp;nbsp; 4) send k20dx_mimxrt1050_evk_qspi_if_crc.bin to "MAINTENANCE", and want the sending finished.&lt;BR /&gt;&amp;nbsp; 5) power off the board, then plug the usb cable to J28 again, wait a moment, you will find a device named as "RT150-EVK"&lt;BR /&gt;&amp;nbsp; until now, the on board debugger is changed the qspi compatible firmware, you can use the CMSIS DAP to debug the code now.&lt;BR /&gt;2. Modify the code, let's take the iled_blinky as an example&lt;BR /&gt;&amp;nbsp; 1) import iled_blinky code to MCUXpresso IDE, you can find this project in folder: &lt;BR /&gt;&amp;nbsp;&amp;nbsp; SDK_2.5.0_EVKB-IMXRT1050\boards\evkbimxrt1050\demo_apps\led_blinky&lt;BR /&gt;&amp;nbsp; 2) change the flash Driver to :MIMXRT1050-EVK_IS25WP064A.cfx&lt;BR /&gt;&amp;nbsp; 3) Modify this code, this is the most important part, which I forget to tell you in the last email&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Open evkbimxrt1050_flexspi_nor_config.c in project folder xip.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please comment these code:&lt;BR /&gt;&amp;nbsp;/*&lt;BR /&gt;const flexspi_nor_config_t hyperflash_config = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .memConfig =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .tag = FLEXSPI_CFG_BLK_TAG,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .version = FLEXSPI_CFG_BLK_VERSION,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .readSampleClkSrc = kFlexSPIReadSampleClk_ExternalInputFromDqsPad,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csHoldTime = 3u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csSetupTime = 3u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .columnAddressWidth = 3u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .controllerMiscOption =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1u &amp;lt;&amp;lt; kFlexSpiMiscOffset_DdrModeEnable) | (1u &amp;lt;&amp;lt; kFlexSpiMiscOffset_WordAddressableEnable) |&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1u &amp;lt;&amp;lt; kFlexSpiMiscOffset_SafeConfigFreqEnable) | (1u &amp;lt;&amp;lt; kFlexSpiMiscOffset_DiffClkEnable),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sflashPadType = kSerialFlash_8Pads,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .serialClkFreq = kFlexSpiSerialClk_133MHz,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sflashA1Size = 64u * 1024u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .dataValidTime = {16u, 16u},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .lookupTable =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Read LUTs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLEXSPI_LUT_SEQ(CMD_DDR, FLEXSPI_8PAD, 0xA0, RADDR_DDR, FLEXSPI_8PAD, 0x18),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLEXSPI_LUT_SEQ(CADDR_DDR, FLEXSPI_8PAD, 0x10, DUMMY_DDR, FLEXSPI_8PAD, 0x06),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLEXSPI_LUT_SEQ(READ_DDR, FLEXSPI_8PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pageSize = 512u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sectorSize = 256u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .blockSize = 256u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .isUniformBlockSize = true,&lt;BR /&gt;};&lt;BR /&gt;*/&lt;BR /&gt;Then add these code:&lt;BR /&gt;const flexspi_nor_config_t qspiflash_config = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .memConfig =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .tag = FLEXSPI_CFG_BLK_TAG,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .version = FLEXSPI_CFG_BLK_VERSION,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .readSampleClkSrc = kFlexSPIReadSampleClk_LoopbackFromDqsPad,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csHoldTime = 3u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .csSetupTime = 3u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sflashPadType = kSerialFlash_4Pads,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .serialClkFreq = kFlexSpiSerialClk_100MHz,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sflashA1Size = 8u * 1024u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .lookupTable =&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Read LUTs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x18),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .pageSize = 256u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .sectorSize = 4u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .blockSize = 256u * 1024u,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .isUniformBlockSize = false,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4)Save the code, and build the project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Download the code to the RT1050 board.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can refer to these application note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf" title="https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf"&gt;https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12108.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12108.pdf &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Configure SW7:1 OFF, 2 OFF, 3 ON, 4 OFF&lt;/P&gt;&lt;P&gt;Then download the code again, it should works OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 04:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964623#M143744</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-07-25T04:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964624#M143745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BTW, MIMXRT1050-EVK is the old board, it's better to use MIMXRT1050-EVKB board.&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 04:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964624#M143745</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-07-25T04:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964625#M143746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry Zhou,&lt;/P&gt;&lt;P&gt;Thank you very much! Your answer help me solve the problem of running the project in the kit EVKRT1050.&amp;nbsp;I am very grateful!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to run the project on my board, which was based on the RT1050 wiring diagram, but the error below occurs. I can burn the project to my board, but I can't run it.&lt;/P&gt;&lt;P&gt;The difference between the RT1050 Kit wiring diagram and my wiring diagram is that my scheme does not have the SW7 (boot selection) switch and my card has only QSPI memory, ie it has neither Hyperflash memory nor SD card memory.&lt;/P&gt;&lt;P&gt;You believe this may be a limitation, or if not, you understand the solution to this problem.&lt;/P&gt;&lt;P&gt;I thank you very much for your attention to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rubens Júnior&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84500iB76081E8F0A1F8EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2019 19:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964625#M143746</guid>
      <dc:creator>rubensjunior</dc:creator>
      <dc:date>2019-07-25T19:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964626#M143747</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" data-content-finding="Community" data-userid="341371" data-username="rubensjunior" href="https://community.nxp.com/people/rubensjunior"&gt;Rubens Junior&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You are welcome, and that's very good to hear it works on your side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Normally, one case to one question topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If your own board have the debug problem, could you create a new question post, it's better to share your own board schematic, then we can help you to check it in details.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You also can check your own boot pins and the boot config pins, if the boot pin configuration is not correct, than your own boot maybe failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you create the new question post,&amp;nbsp; and still want I to provide service for you, you can @Kerry zhou in your question post, thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 02:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964626#M143747</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-07-26T02:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964627#M143748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For others who may experience the 0xA8 error, it appears that the root cause of the error for me was inadequate power. After connecting a 5VDC adapter to the board and switching the J1 jumper to pins 1 and 2, I was able to successfully program and line step with both the on-board CMISIS-DAP probe (after re-programming it with the Quad-SPI-compatible firmware) and an external J-Link (after editing the JLinkDevices.xml file).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 20:05:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964627#M143748</guid>
      <dc:creator>amwilhite</dc:creator>
      <dc:date>2019-08-12T20:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964628#M143749</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" data-content-finding="Community" data-userid="320108" data-username="amwilhite@indesign-llc.com" href="https://community.nxp.com/people/amwilhite@indesign-llc.com"&gt;Austin Wilhite&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks a lot for your experience sharing!&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 01:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964628#M143749</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-08-14T01:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964629#M143750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be a red herring, but I followed &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌ and &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/amwilhite@indesign-llc.com"&gt;amwilhite@indesign-llc.com&lt;/A&gt;‌'s advice and it still didn't work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried the&amp;nbsp;MIMXRT1050_SFDP_QSPI.cfx driver instead of the&amp;nbsp;MIMXRT1050-EVK_IS25WP064A.cfx driver and that worked. However now I've switched back to the&amp;nbsp;&lt;SPAN&gt;MIMXRT1050-EVK_IS25WP064A.cfx&amp;nbsp;driver and my code still works...&amp;nbsp;Does anyone know why that may have helped? Could the memory have gotten into some sort of unstable state and the more generic driver made it recover?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 21:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964629#M143750</guid>
      <dc:creator>mukelarvin</dc:creator>
      <dc:date>2019-10-28T21:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: QSPI Flash RT1050 failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964630#M143751</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" data-content-finding="Community" data-userid="225120" data-username="mukelarvin" href="https://community.nxp.com/people/mukelarvin"&gt;Luke Marvin&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When you meet the can't download problems, you also can try to do the external chip mass erase at first, then you download it again should works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; BTW, you also can use our MCUBootUtility tool to download the code in the serial download mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find MCUBootUtility&amp;nbsp; tool from this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v2.0.0&amp;nbsp;" target="test_blank"&gt;https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v2.0.0&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The related user manual is:&lt;BR /&gt;&lt;A href="https://github.com/JayHeng/NXP-MCUBootUtility"&gt;https://github.com/JayHeng/NXP-MCUBootUtility&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 03:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/QSPI-Flash-RT1050-failure/m-p/964630#M143751</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2019-10-29T03:17:32Z</dc:date>
    </item>
  </channel>
</rss>

