<?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 IMXRT1064 CAN Bootloader in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2343742#M36442</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I want to port a existing and working CANopen-Bootloader to NXP IMXRT1064. The Bootloader works like this: It sits in the normal flash of a small microcontroller and on top comes the application which the bootloader can modify at runtime.&lt;/P&gt;&lt;P&gt;But with the IMXRT1064 it is very different in comparison to my little microcontroller. It has a 4MB QSPI Flash integrated directly into the package, connected to FlexSPI2.&lt;/P&gt;&lt;P&gt;I've already experiemented with the example bootloader projects from the NXP SDK, flashloader and mcuboot, and also with the nor_flash-example but I think I have fundamental misunderstanding of how the application is running over QSPI flash together with a bootloader.&lt;/P&gt;&lt;P&gt;My first question is where do I need to store my CAN-bootloader? Does it need to sit in QSPI-Flash or maybe ITCM or somewhere else? Where should i store it?&lt;/P&gt;&lt;P&gt;My second question is if the bootloader is programmed into QSPI-Flash (0x70000000), can the bootloader run and modify the upper ranges of the QSPI-Flash (e.g. 0x70020000) where the application would be stored? How is a write access via internal FlexSPI2 even possible while the processor needs to load instructions to run the bootloader?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2026 15:01:42 GMT</pubDate>
    <dc:creator>tisch</dc:creator>
    <dc:date>2026-04-01T15:01:42Z</dc:date>
    <item>
      <title>IMXRT1064 CAN Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2343742#M36442</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I want to port a existing and working CANopen-Bootloader to NXP IMXRT1064. The Bootloader works like this: It sits in the normal flash of a small microcontroller and on top comes the application which the bootloader can modify at runtime.&lt;/P&gt;&lt;P&gt;But with the IMXRT1064 it is very different in comparison to my little microcontroller. It has a 4MB QSPI Flash integrated directly into the package, connected to FlexSPI2.&lt;/P&gt;&lt;P&gt;I've already experiemented with the example bootloader projects from the NXP SDK, flashloader and mcuboot, and also with the nor_flash-example but I think I have fundamental misunderstanding of how the application is running over QSPI flash together with a bootloader.&lt;/P&gt;&lt;P&gt;My first question is where do I need to store my CAN-bootloader? Does it need to sit in QSPI-Flash or maybe ITCM or somewhere else? Where should i store it?&lt;/P&gt;&lt;P&gt;My second question is if the bootloader is programmed into QSPI-Flash (0x70000000), can the bootloader run and modify the upper ranges of the QSPI-Flash (e.g. 0x70020000) where the application would be stored? How is a write access via internal FlexSPI2 even possible while the processor needs to load instructions to run the bootloader?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 15:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2343742#M36442</guid>
      <dc:creator>tisch</dc:creator>
      <dc:date>2026-04-01T15:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 CAN Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2345036#M36454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/261224"&gt;@tisch&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Q1: My first question is where do I need to store my CAN-bootloader? Does it need to sit in QSPI-Flash or maybe ITCM or somewhere else? Where should i store it?&lt;/P&gt;
&lt;P&gt;A1:&amp;nbsp; For i.MX RT1064, the bootloader image is normally stored in the internal 4 MB SIP QSPI flash connected to FlexSPI2, because this is the primary boot device for RT1064&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;RT1064 supports both XIP and non-XIP boot from Serial NOR flash:&lt;/P&gt;
&lt;P&gt;an XIP image executes directly from the FlexSPI address space, while a non-XIP image is copied to internal RAM for execution .&lt;/P&gt;
&lt;P&gt;So the bootloader is typically&amp;nbsp;stored in QSPI flash,&amp;nbsp; OCRAM/ITCM are execution locations&amp;nbsp;, not the normal boot storage defined by the ROM boot flow.&lt;/P&gt;
&lt;P&gt;Q2:My second question is if the bootloader is programmed into QSPI-Flash (0x70000000), can the bootloader run and modify the upper ranges of the QSPI-Flash (e.g. 0x70020000) where the application would be stored? How is a write access via internal FlexSPI2 even possible while the processor needs to load instructions to run the bootloader?&lt;/P&gt;
&lt;P&gt;A2: Yes, a bootloader stored in the internal QSPI flash can update a higher flash region used for the application, but it must not continue executing from that same flash while erase/program is in progress.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;RT1064 provides ROM FlexSPI NOR APIs such as init , program , erase , read , and update_lut for in-application flash operations. During flash erase/program, the update routine should execute from internal RAM，and the application must ensure there are no other flash accesses during the operation， otherwise behavior is unpredictable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2026-04-02_17-58-21.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/381290i89709FEC38BCD301/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2026-04-02_17-58-21.png" alt="Snipaste_2026-04-02_17-58-21.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I suggest you can refer to this link below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/How-to-use-the-RT1064-on-chip-flash-as-NVM/ta-p/1123381" target="_blank" rel="noopener"&gt;How to use the RT1064 on-chip flash as NVM&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;May&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2026 10:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2345036#M36454</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-04-10T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 CAN Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2352095#M36495</link>
      <description>Hi May,&lt;BR /&gt;your answer and the link to change the flexspi_nor_example from flexspi to flexspi2 helped a lot. I was able to write the application into the flash and startup the application.&lt;BR /&gt;Thank you very much.</description>
      <pubDate>Thu, 16 Apr 2026 08:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2352095#M36495</guid>
      <dc:creator>tisch</dc:creator>
      <dc:date>2026-04-16T08:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1064 CAN Bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2352113#M36496</link>
      <description>&lt;P&gt;Thanks for your updated information and sharing.&lt;/P&gt;
&lt;P&gt;If you meet any issue in the future, welcome to create the new question post.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2026 08:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1064-CAN-Bootloader/m-p/2352113#M36496</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2026-04-16T08:42:08Z</dc:date>
    </item>
  </channel>
</rss>

