<?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 RT Crossover MCUsのトピックRe: RT1051 and QSPI</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795636#M841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end, we discovered that the QE bit (QSPI Enable) was not set in the flash.&lt;/P&gt;&lt;P&gt;According to the local FAE, if we program the board via SWD as we do, then we need to manually set the flag.&lt;/P&gt;&lt;P&gt;It seems that, using openSDA, this operation is automagically executed by some init script.&lt;/P&gt;&lt;P&gt;Anyway... problem solved.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2018 10:44:04 GMT</pubDate>
    <dc:creator>giuseppescarpi</dc:creator>
    <dc:date>2018-11-06T10:44:04Z</dc:date>
    <item>
      <title>RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795634#M839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;I am currently working on a custom board with RT1051 and a QSPI flash memory - same type than EVKB, just smaller.&lt;/P&gt;&lt;P&gt;We can read and write the board via SWD/JLink, but we are unable to start the board from QSPI despite the fact that we burned the correct fuse (just BT_FUSE_SEL, because the other default values are OK) and that we have BOOT_SEL pins both to GND.&lt;/P&gt;&lt;P&gt;I was unable to understand the problem so far. Hopefully, someone can share his/her experience in order to help me understand what is wrong.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 08:14:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795634#M839</guid>
      <dc:creator>giuseppescarpi</dc:creator>
      <dc:date>2018-10-16T08:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795635#M840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Please check Your QSPI image, if it is correctly prepared, as described &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;in app note AN12108 (How to Enable Boot from QSPI Flash, Rev. 3, 09/2018) &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Also, app note AN12183 (How to Enable Debugging for FLEXSPI NOR&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Flash) may be useful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A href="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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 06:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795635#M840</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-10-17T06:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795636#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end, we discovered that the QE bit (QSPI Enable) was not set in the flash.&lt;/P&gt;&lt;P&gt;According to the local FAE, if we program the board via SWD as we do, then we need to manually set the flag.&lt;/P&gt;&lt;P&gt;It seems that, using openSDA, this operation is automagically executed by some init script.&lt;/P&gt;&lt;P&gt;Anyway... problem solved.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 10:44:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795636#M841</guid>
      <dc:creator>giuseppescarpi</dc:creator>
      <dc:date>2018-11-06T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795637#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A class="" href="https://github.com/JayHeng/nxp-sec-boot-ui" style="color: #2989c5; text-decoration: none;" title="https://github.com/JayHeng/nxp-sec-boot-ui"&gt;GitHub - JayHeng/nxp-sec-boot-ui: A one-stop GUI tool to work with NXP MCU (Kinetis, i.MXRT, LPC) ROM bootloader, It can…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2018 05:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795637#M842</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2018-12-23T05:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795638#M843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jay, thank you for the suggestion.&lt;/P&gt;&lt;P&gt;I see that your tool works with USB or UART1, but unfortunately we have access to neither of these peripherals.&lt;/P&gt;&lt;P&gt;We connect to the MCU with Segger J-Link via SWD interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 14:21:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795638#M843</guid>
      <dc:creator>giuseppescarpi</dc:creator>
      <dc:date>2019-01-07T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795639#M844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giuseppe,&lt;/P&gt;&lt;P&gt;could you explain how you are writing the QE-bit manually?&lt;/P&gt;&lt;P&gt;Thanks, Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 11:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795639#M844</guid>
      <dc:creator>m_spahlinger</dc:creator>
      <dc:date>2019-04-26T11:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795640#M845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, sorry for the late answer. I suppose you already solved the issue, but I post the answer for future reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I started from the MCUXpresso project called &lt;STRONG&gt;flexspi_nor_polling_transfer&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Then I just modified it to read and write the bit.&lt;/P&gt;&lt;P&gt;Here is the code that performs the read/write operation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Check if the QE bit is already set */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; completed = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( (flexspi_nor_read_status_register(EXAMPLE_FLEXSPI) &amp;amp; 0x40) != 0x40)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* Enable QE bit */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;status = flexspi_nor_enable_quad_mode(EXAMPLE_FLEXSPI);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (status != kStatus_Success)&lt;BR /&gt;&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;return status;&lt;BR /&gt;&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; completed = ( (flexspi_nor_read_status_register(EXAMPLE_FLEXSPI) &amp;amp; 0x40) == 0x40);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 10:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/795640#M845</guid>
      <dc:creator>giuseppescarpi</dc:creator>
      <dc:date>2019-06-05T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: RT1051 and QSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/1280690#M14332</link>
      <description>&lt;P&gt;In my case, I am working with &lt;SPAN&gt;i.MX RT1010, I build the custom board with same MCU and SPI Flash IC on the&amp;nbsp;MIMXRT1010 EVK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I was not able to write the code into Flash IC because of the QE bit, so I enabled it with your suggested code as below. I also have to run it from RAM by tick on "Link Application to Ram"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145273i1B2BBB48865A757C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 846px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145277i3F0B3452A021D280/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I can download the code into Flash with MCU Falsh tool. The code runs, (LED is blinking) but somehow I can get it run in debug mode. MCUXpresso shows msg:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Break at address "0x20ea90" with no debug information available, or outside of program code.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea? Feel free to help&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 21:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1051-and-QSPI/m-p/1280690#M14332</guid>
      <dc:creator>Babycat</dc:creator>
      <dc:date>2021-05-22T21:36:38Z</dc:date>
    </item>
  </channel>
</rss>

