<?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 MIMXRT1061 unable to boot from external NOR flash in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/MIMXRT1061-unable-to-boot-from-external-NOR-flash/m-p/2387639#M5585</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;I have a custom board based on the MIMXRT1061DVL6B with an external NOR flash (W25Q128JVSSIQ). I am using Zephyr with VS Code as my development environment, and I am currently having difficulty getting the device to boot.&lt;/P&gt;&lt;P&gt;I suspect the issue is similar to the one discussed in this post:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT1060-Boot-using-FlexSPI/m-p/1242678" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT1060-Boot-using-FlexSPI/m-p/1242678&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically, I believe it may be related to linker script configuration and enabling `XIP_EXTERNAL_FLASH`.&lt;/P&gt;&lt;P&gt;What I do not fully understand is the correct way to modify the linker settings and enable `XIP_EXTERNAL_FLASH` in both a Zephyr-based setup and a standalone MCUXpresso/NXP SDK-style project.&lt;/P&gt;&lt;P&gt;As an experiment, I was able to get some activity from the MCU by manually modifying the `MIMXRT1062xxxxx_flexspi_nor.ld` linker file and changing the `.text` section placement to:&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;.text{} &amp;gt; m_data AT &amp;gt; m_text&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;However, I do not want to rely on this manual modification because there are multiple `MIMXRT1062xxxxx_flexspi_nor.ld` files in the project, and I am not sure which one is actually being used by the linker.&lt;/P&gt;&lt;P&gt;I would appreciate guidance on the correct procedure to:&lt;/P&gt;&lt;P&gt;1. Configure XIP execution from external NOR flash for MIMXRT1061.&lt;BR /&gt;2. Enable the required `XIP_EXTERNAL_FLASH` settings.&lt;BR /&gt;3. Properly modify or override the linker script in a Zephyr-based project.&lt;BR /&gt;4. Understand the equivalent configuration for a non-Zephyr project.&lt;/P&gt;&lt;P&gt;Any guidance on the recommended approach would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Junaid&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2026 09:18:49 GMT</pubDate>
    <dc:creator>jahmed9</dc:creator>
    <dc:date>2026-06-29T09:18:49Z</dc:date>
    <item>
      <title>MIMXRT1061 unable to boot from external NOR flash</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MIMXRT1061-unable-to-boot-from-external-NOR-flash/m-p/2387639#M5585</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I have a custom board based on the MIMXRT1061DVL6B with an external NOR flash (W25Q128JVSSIQ). I am using Zephyr with VS Code as my development environment, and I am currently having difficulty getting the device to boot.&lt;/P&gt;&lt;P&gt;I suspect the issue is similar to the one discussed in this post:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT1060-Boot-using-FlexSPI/m-p/1242678" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT1060-Boot-using-FlexSPI/m-p/1242678&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically, I believe it may be related to linker script configuration and enabling `XIP_EXTERNAL_FLASH`.&lt;/P&gt;&lt;P&gt;What I do not fully understand is the correct way to modify the linker settings and enable `XIP_EXTERNAL_FLASH` in both a Zephyr-based setup and a standalone MCUXpresso/NXP SDK-style project.&lt;/P&gt;&lt;P&gt;As an experiment, I was able to get some activity from the MCU by manually modifying the `MIMXRT1062xxxxx_flexspi_nor.ld` linker file and changing the `.text` section placement to:&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;.text{} &amp;gt; m_data AT &amp;gt; m_text&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;However, I do not want to rely on this manual modification because there are multiple `MIMXRT1062xxxxx_flexspi_nor.ld` files in the project, and I am not sure which one is actually being used by the linker.&lt;/P&gt;&lt;P&gt;I would appreciate guidance on the correct procedure to:&lt;/P&gt;&lt;P&gt;1. Configure XIP execution from external NOR flash for MIMXRT1061.&lt;BR /&gt;2. Enable the required `XIP_EXTERNAL_FLASH` settings.&lt;BR /&gt;3. Properly modify or override the linker script in a Zephyr-based project.&lt;BR /&gt;4. Understand the equivalent configuration for a non-Zephyr project.&lt;/P&gt;&lt;P&gt;Any guidance on the recommended approach would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Junaid&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 09:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MIMXRT1061-unable-to-boot-from-external-NOR-flash/m-p/2387639#M5585</guid>
      <dc:creator>jahmed9</dc:creator>
      <dc:date>2026-06-29T09:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1061 unable to boot from external NOR flash</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/MIMXRT1061-unable-to-boot-from-external-NOR-flash/m-p/2387883#M5590</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250855"&gt;@jahmed9&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In order to support you better, could you please provide me the next information?&lt;/P&gt;
&lt;P&gt;-Is the DQS pin connected, or is it left floating in your design?&lt;/P&gt;
&lt;P&gt;-Is the flash device connected to FlexSPI Port A?&lt;/P&gt;
&lt;P&gt;-Have you modified the FCB according of your flash device? If so, could you please run the flash_component_nor_flexspi example from the SDK with your modifications?&lt;/P&gt;
&lt;P&gt;This can help verify basic communication with the flash device by confirming whether read, write, and erase operations complete successfully. This test is also useful to validate the hardware connections.&lt;/P&gt;
&lt;P&gt;If you have not modified the FCB, Chapter 18 of the &lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/i-MX-RT-FLEXSPI-booting-guide/ta-p/1669262" target="_blank"&gt;FlexSPI booting guide&lt;/A&gt; provides a detailed explanation of how the FCB is constructed. If you have any questions, do not hesitate to let me know.&lt;BR /&gt;BR&lt;BR /&gt;Habib&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 18:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/MIMXRT1061-unable-to-boot-from-external-NOR-flash/m-p/2387883#M5590</guid>
      <dc:creator>Habib_MS</dc:creator>
      <dc:date>2026-06-29T18:42:25Z</dc:date>
    </item>
  </channel>
</rss>

