<?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: OTFAD with FlexSPI in code</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484223#M20416</link>
    <description>&lt;P&gt;Here is the&amp;nbsp;&lt;SPAN&gt;NXP-MCUBootUtility-v3.5.0. "&lt;/SPAN&gt;&lt;SPAN&gt;Advanced Key Settings".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Key Settings.png" style="width: 917px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185504i1D7AC3749EDBDE6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Key Settings.png" alt="Advanced Key Settings.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Advanced Key Settings.png&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The setting is work (led blinky) when&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I&amp;nbsp;commet the function "flexspi_nor_flash_init".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I confirm the map,&amp;nbsp; the function "flexspi_nor_flash_init"&amp;nbsp; is definitely located in RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flexspiinram.png" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185505i712EBDF7FF065E3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexspiinram.png" alt="flexspiinram.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;flexspiinram.png&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 00:53:30 GMT</pubDate>
    <dc:creator>AChun</dc:creator>
    <dc:date>2022-07-05T00:53:30Z</dc:date>
    <item>
      <title>OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1480839#M20313</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using IMXRT1010EVK board with NXP-MCUBootUtility-v3.5.0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use the function “ &lt;/SPAN&gt;&lt;SPAN&gt;flexspi_nor_flash_init(EXAMPLE_FLEXSPI)”,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and blink the led after the function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It failed while i choose OTFAD as my secure Type, I follow&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the post “Use FlexSPI while decrypted with OTFAD”, change code to the the following&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; {
 //OTFAD-&amp;gt;CR &amp;amp;= ~OTFAD_CR_GE_MASK;
  backupendaddr = OTFAD-&amp;gt;CTX[0].RGD_W1;
  OTFAD-&amp;gt;CTX[0].RGD_W1 = OTFAD-&amp;gt;CTX[0].RGD_W0;
  //flexspi_nor_flash_init(EXAMPLE_FLEXSPI);
  OTFAD-&amp;gt;CTX[0].RGD_W1 = backupendaddr;
  //OTFAD-&amp;gt;CR |= OTFAD_CR_GE(1);
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;The led blink with &lt;/SPAN&gt;&lt;SPAN&gt;OTFAD when i commet the &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;function “&lt;/SPAN&gt;&lt;SPAN&gt;flexspi_nor_flash_init(EXAMPLE_FLEXSPI)”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data.ldt:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;#if memory.name=="SRAM_ITC"&amp;gt;
        *flexspi_nor_flash_ops.o(.text*)
        *fsl_flexspi.o(.text*)
        &amp;lt;/#if&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;main_text.ldt:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        *(EXCLUDE_FILE(*flexspi_nor_flash_ops.o *fsl_flexspi.o) .text*)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The program is in XIP mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 01:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1480839#M20313</guid>
      <dc:creator>AChun</dc:creator>
      <dc:date>2022-06-28T01:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483227#M20388</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Actually, I'm not very clear with this question, whether you mean the evkmimxrt1170_flexspi_nor_polling_transfer_cm7 can't work well after enabling encrypted XiP with OTFAD.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;</description>
      <pubDate>Fri, 01 Jul 2022 06:20:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483227#M20388</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-07-01T06:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483730#M20397</link>
      <description>&lt;P&gt;I'm using the flexspi example code for the&amp;nbsp;&lt;SPAN&gt;IMXRT1010EVK board. Add the blinking code after the function "flexspi_nor_flash_init".&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    BOARD_ConfigMPU();
    BOARD_InitBootPins();
    BOARD_BootClockRUN();
    BOARD_InitDebugConsole();
    SCB_DisableDCache();

    flexspi_nor_flash_init(EXAMPLE_FLEXSPI);

    PRINTF("\r\nFLEXSPI example started!\r\n");

    /* Set systick reload value to generate 1ms interrupt */
    if (SysTick_Config(SystemCoreClock / 1000U))
    {
    	while (1);
    }
    while (1)
    {
		if(delay_timer==0)
		{
			delay_timer = 500;
			LED_toggle();
		}
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following the&amp;nbsp;&lt;A href="https://www.cnblogs.com/henjay724/p/14446183.html" target="_self"&gt;article&lt;/A&gt;&amp;nbsp;, I have change the function "BOARD_BootClockRUN()".&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It blinks the led If I&amp;nbsp;commet the function "flexspi_nor_flash_init".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or I change the secure boot Type to "HAB signed Image Boot"&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can it work on OTFAD Mode with the&amp;nbsp;flexspi_nor_flash_init and blinky in code?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 02:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483730#M20397</guid>
      <dc:creator>AChun</dc:creator>
      <dc:date>2022-07-04T02:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483914#M20401</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply. &lt;BR /&gt;Firstly, I'd like to know your Advanced Key Settings, next, in the flexspi_nor_polling_transfer demo, the flexspi_nor_flash_init will be relocated to the RAM after booting up, so it shouldn't be affected by the restriction mentioned in the &lt;A href="https://www.cnblogs.com/henjay724/p/14446183.html" target="_self"&gt;article&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1656922179485.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185446iB443AD21E4125FA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1656922179485.png" alt="jeremyzhou_0-1656922179485.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;jeremyzhou_0-1656922179485.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&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&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 08:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1483914#M20401</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-07-04T08:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484223#M20416</link>
      <description>&lt;P&gt;Here is the&amp;nbsp;&lt;SPAN&gt;NXP-MCUBootUtility-v3.5.0. "&lt;/SPAN&gt;&lt;SPAN&gt;Advanced Key Settings".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Advanced Key Settings.png" style="width: 917px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185504i1D7AC3749EDBDE6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Advanced Key Settings.png" alt="Advanced Key Settings.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Advanced Key Settings.png&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The setting is work (led blinky) when&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;I&amp;nbsp;commet the function "flexspi_nor_flash_init".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, I confirm the map,&amp;nbsp; the function "flexspi_nor_flash_init"&amp;nbsp; is definitely located in RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flexspiinram.png" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185505i712EBDF7FF065E3A/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexspiinram.png" alt="flexspiinram.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;flexspiinram.png&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 00:53:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484223#M20416</guid>
      <dc:creator>AChun</dc:creator>
      <dc:date>2022-07-05T00:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484305#M20422</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Can you share the read result of eFuse in the NXP-MCUBootUtility-v3.5.0?&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/40101"&gt;@jay_heng&lt;/a&gt;&amp;nbsp;&amp;nbsp;Can you share some insight into the phenomenon?&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;</description>
      <pubDate>Tue, 05 Jul 2022 03:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484305#M20422</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-07-05T03:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484349#M20424</link>
      <description>&lt;P&gt;The fuse is got here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fuse_setting.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185530i482024BD0EB09AAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="fuse_setting.png" alt="fuse_setting.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;fuse_setting.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 05:10:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484349#M20424</guid>
      <dc:creator>AChun</dc:creator>
      <dc:date>2022-07-05T05:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: OTFAD with FlexSPI in code</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484405#M20425</link>
      <description>&lt;P&gt;The issue is caused by FlexSPI reset way, please refer to my blog&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cnblogs.com/henjay724/p/14479276.html" target="_blank"&gt;https://www.cnblogs.com/henjay724/p/14479276.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 06:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/OTFAD-with-FlexSPI-in-code/m-p/1484405#M20425</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2022-07-05T06:44:58Z</dc:date>
    </item>
  </channel>
</rss>

