<?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: MIMRXT1062 crash with external flash</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1659212#M206739</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I've been able to remove a lot of code, and now I can&amp;nbsp;discriminate two conditions:&lt;/P&gt;&lt;P&gt;WORKING CODE - output log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:     8129056 B        64 MB     12.11%
     BOARD_SDRAM:     1905888 B        30 MB      6.06%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5464 B       128 KB      4.17%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOT WORKING CODE (crash during startup) - output log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:     8496112 B        64 MB     12.66%
     BOARD_SDRAM:     1905888 B        30 MB      6.06%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5464 B       128 KB      4.17%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% sure, but the error seems to appear when I exceed 8MB (8388608 bytes).&lt;/P&gt;&lt;P&gt;Do you think it could be an issue due to wrong memory mapping? Maybe it's not suffient to change this Memory setup (before it wasn't 64MB but, I remember, it was 8MB), but there are also other settings to be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 13:49:13 GMT</pubDate>
    <dc:creator>filo96</dc:creator>
    <dc:date>2023-05-29T13:49:13Z</dc:date>
    <item>
      <title>MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1654734#M206264</link>
      <description>&lt;P&gt;Processor: MIMXRT1062CVL5&lt;/P&gt;&lt;P&gt;External flash memory: W25Q512JV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are creating a project that uses the LVGL library to display a GUI on a monitor, so we need an external flash memory to store this big quantity of data.&lt;/P&gt;&lt;P&gt;In particular, we use a 64MB Winbond flash memory interfaced with the microcontroller.&lt;/P&gt;&lt;P&gt;The system was working well until the project started to increase in size. In particular when I flash the microcontroller with the debugger it shows me a Hard fault error. It stops the execution at the startup, so it isn't a code issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine 2023-05-22 114750.jpg" style="width: 407px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224220i3FF24096698A2986/image-size/large?v=v2&amp;amp;px=999" role="button" title="Immagine 2023-05-22 114750.jpg" alt="Immagine 2023-05-22 114750.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We suspect that it has been generated by the memory configuration, so I attach also the Memory details:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Type&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Name&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Alias&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Location&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Size&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Driver&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Flash&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;BOARD_FLASH&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;Flash&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x60000000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x4000000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;MIMXRT1060_SFDP_QSPI.cfx&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;BOARD_DRAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x80000000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x1e00000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;NCACHE_REGION&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM2&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x81e00000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x200000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;SRAM_DTC&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM3&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x20000000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x20000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;SRAM_ITC&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM4&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x0&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x20000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;SRAM_OC&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;RAM5&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0x20200000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;0xc0000&lt;/TD&gt;&lt;TD width="16.666666666666668%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've only been able to understand that:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If we use only pictures, without any touchscreen management, the final used size of BOARD_FLASH is only 0.85%. &lt;STRONG&gt;The system starts and shows the GUI.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If we enable the touchscreen management functions, which coordinate the various interactions with the GUI, the&amp;nbsp;final used size of BOARD_FLASH is 24.45%. &lt;STRONG&gt;The system crashes as showed previously.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any help would be apprectiated!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 10:18:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1654734#M206264</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-05-22T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1656179#M206399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215309"&gt;@filo96&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please also share the build result picture, I need to check the memory used percent information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I mean, something like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1684897212678.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224590iB2B655D44DFB8958/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1684897212678.png" alt="kerryzhou_0-1684897212678.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Answer your questions:&lt;/P&gt;
&lt;P&gt;1 If we use only pictures, without any touchscreen management, the final used size of BOARD_FLASH is only 0.85%.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;The system starts and shows the GUI.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=&amp;gt;Answer: So, this point is working, no issues.&lt;/P&gt;
&lt;P&gt;2 If we enable the touchscreen management functions, which coordinate the various interactions with the GUI, the&amp;nbsp;final used size of BOARD_FLASH is 24.45%.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;The system crashes as showed previously.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=&amp;gt;Answer:&amp;nbsp;BOARD_FLASH is 24.45%,this should still OK, please try to disable the cache, whether any improvement or not? Do you just use the flash memory, not other RAM? Whether the RAM is overflow or not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 03:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1656179#M206399</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-05-24T03:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1656509#M206449</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are using an external 30MB RAM chip, as you can see from the log. So there is a sufficient amount of RAM memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:    16405264 B        64 MB     24.45%
     BOARD_SDRAM:     1904512 B        30 MB      6.05%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5184 B       128 KB      3.96%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;"please try to disable the cache, whether any improvement or not? Do you just use the flash memory, not other RAM? Whether the RAM is overflow or not?"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "I cache" and "D cache" are enabled. How could I disable them?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 12:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1656509#M206449</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-05-24T12:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657334#M206525</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215309"&gt;@filo96&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;void BOARD_ConfigMPU(void)&lt;/P&gt;
&lt;P&gt;In the API end:&lt;/P&gt;
&lt;P&gt;SCB_EnableDCache();&lt;BR /&gt;SCB_EnableICache();&lt;/P&gt;
&lt;P&gt;Change it to:&lt;/P&gt;
&lt;P&gt;SCB_DisableDCache();&lt;BR /&gt;SCB_DisableICache();&lt;/P&gt;
&lt;P&gt;Then test it again, any improvement or not?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657334#M206525</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-05-25T06:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657360#M206531</link>
      <description>&lt;P&gt;I made the following changes:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SCB_EnableDCache();&amp;nbsp;&lt;/EM&gt;to&amp;nbsp;&lt;EM&gt;SCB_DisableDCache();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SCB_EnableICache(); &lt;/EM&gt;to&amp;nbsp;&lt;EM&gt;SCB_DisableICache();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But it stops at the same Program Counter's line as previously mentioned. Hence I think this is not due to caches.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657360#M206531</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-05-25T06:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657385#M206538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215309"&gt;@filo96&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Thanks for your updated information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;You mentioned:&amp;nbsp;&lt;SPAN&gt;The system was working well until the project started to increase in size.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When it was working well, whether you also use the SDRAM above the ITCM and DTCM? Just want to check whether it is related to the SDRAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Can you try to comment some code, and let it working, then add more data in the flash,eg, constant, whether it can reproduce the issues or not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Can you reproduce the issues on the EVK, even with your used QSPI flash?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I just want to check, whether I can reproduce your issues or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 07:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1657385#M206538</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-05-25T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1658393#M206641</link>
      <description>&lt;P&gt;At the moment I can only look at some of your points.&lt;/P&gt;&lt;P&gt;Firstly, when it works, I cache and D cache are enabled.&lt;/P&gt;&lt;P&gt;This is the output log message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:      572528 B        64 MB      0.85%
     BOARD_SDRAM:     1903072 B        30 MB      6.05%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5184 B       128 KB      3.96%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I don't have an EVK board, so I cannot try to reproduce the error.&lt;/P&gt;&lt;P&gt;I could exclude some parts of code until it crashes, it's what I tried and what I'll continue to try. I'll update you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: I noticed that in "board.h" there is&lt;/P&gt;&lt;P&gt;#define BOARD_FLASH_SIZE (0x800000U)&lt;/P&gt;&lt;P&gt;so I changed it to&lt;/P&gt;&lt;P&gt;#define BOARD_FLASH_SIZE (0x4000000U)&lt;/P&gt;&lt;P&gt;but the error persists...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 15:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1658393#M206641</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-05-29T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1659212#M206739</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I've been able to remove a lot of code, and now I can&amp;nbsp;discriminate two conditions:&lt;/P&gt;&lt;P&gt;WORKING CODE - output log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:     8129056 B        64 MB     12.11%
     BOARD_SDRAM:     1905888 B        30 MB      6.06%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5464 B       128 KB      4.17%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOT WORKING CODE (crash during startup) - output log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Memory region         Used Size  Region Size  %age Used
     BOARD_FLASH:     8496112 B        64 MB     12.66%
     BOARD_SDRAM:     1905888 B        30 MB      6.06%
   NCACHE_REGION:        5600 B         2 MB      0.27%
        SRAM_DTC:          0 GB       128 KB      0.00%
        SRAM_ITC:        5464 B       128 KB      4.17%
         SRAM_OC:          0 GB       768 KB      0.00%
Finished building target: evkmimxrt1060_lvgl_guider_test2.axf&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% sure, but the error seems to appear when I exceed 8MB (8388608 bytes).&lt;/P&gt;&lt;P&gt;Do you think it could be an issue due to wrong memory mapping? Maybe it's not suffient to change this Memory setup (before it wasn't 64MB but, I remember, it was 8MB), but there are also other settings to be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 13:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1659212#M206739</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-05-29T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1659429#M206758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215309"&gt;@filo96&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks a lot for your effort.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Now, please do this testing based on the working code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;As you mentioned, it seems the code larger than&amp;nbsp;&lt;SPAN&gt;8MB,the issue occur, so, the working code still not exceed, right?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;If yes, please add some const array, just let the code larger than 8MB, as this const array just consume the flash, not the internal RAM,&amp;nbsp; you can try it, whether the issue appears?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; If not appear, please test your issue project, change the stack and heap size, whether some improve or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 03:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1659429#M206758</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2023-05-30T03:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: MIMRXT1062 crash with external flash</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1664222#M207176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to update you. Maybe I finally solved the problem, &lt;STRONG&gt;but I'd like to know if this is correct&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;1) SOLVE THE PROBLEM OF SIZE GREATER THAN 8MB OF FLASH&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Inside the file in &lt;EM&gt;xip\evkmimxrt1060_flexspi_nor_config.c&lt;/EM&gt; there is a struct const variabile named&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;qspiflash_config&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;where I changed:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.sflashA1Size         = 8u * 1024u * 1024u,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.sflashA1Size         = 64u * 1024u * 1024u,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this edit, I've been able to use a size greater than 8MB. However I discovered a new limit that is 16MB.&lt;/P&gt;&lt;P&gt;So, I wasn't able to write more than 16MB in a 64MB of flash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;2) SOLVE THE PROBLEM OF SIZE GREATER THAN 16MB OF FLASH&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Inside the same variable in the file&amp;nbsp;in &lt;EM&gt;xip\evkmimxrt1060_flexspi_nor_config.c&amp;nbsp;&lt;/EM&gt;I changed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.lookupTable =
    {
        // Read LUTs
        [0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x18),
        [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04),

        // Read Status LUTs
        [4 * 1 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x05, READ_SDR, FLEXSPI_1PAD, 0x04),

        // Write Enable LUTs
        [4 * 3 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x06, STOP, FLEXSPI_1PAD, 0x0),

        // Erase Sector LUTs
        [4 * 5 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x20, RADDR_SDR, FLEXSPI_1PAD, 0x18),

        // Erase Block LUTs
        [4 * 8 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xD8, RADDR_SDR, FLEXSPI_1PAD, 0x18),

        // Pape Program LUTs
        [4 * 9 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x02, RADDR_SDR, FLEXSPI_1PAD, 0x18),
        [4 * 9 + 1] = FLEXSPI_LUT_SEQ(WRITE_SDR, FLEXSPI_1PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0),

        // Erase Chip LUTs
        [4 * 11 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x60, STOP, FLEXSPI_1PAD, 0x0),
    },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;.lookupTable =
    {
        // Read LUTs
        [0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEC, RADDR_SDR, FLEXSPI_4PAD, 0x20),
        [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04),

        // Read Status LUTs
        [4 * 1 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x05, READ_SDR, FLEXSPI_1PAD, 0x04),

        // Write Enable LUTs
        [4 * 3 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x06, STOP, FLEXSPI_1PAD, 0x0),

        // Erase Sector LUTs
        [4 * 5 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x21, RADDR_SDR, FLEXSPI_1PAD, 0x20),

        // Erase Block LUTs
        [4 * 8 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xDC, RADDR_SDR, FLEXSPI_1PAD, 0x20),

        // Pape Program LUTs
        [4 * 9 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x12, RADDR_SDR, FLEXSPI_1PAD, 0x20),
        [4 * 9 + 1] = FLEXSPI_LUT_SEQ(WRITE_SDR, FLEXSPI_1PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0),

        // Erase Chip LUTs
        [4 * 11 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x60, STOP, FLEXSPI_1PAD, 0x0),
    },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This permits to accept the use of the 4 byte addressing of the QSPI flash (instead of the 3 bytes as default).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, I changed the const variable&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;customLUT&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;in the file&amp;nbsp;&lt;EM&gt;source\flexspi_nor_polling_transfer.c&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;I changed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const uint32_t customLUT[CUSTOM_LUT_LENGTH] = {
    /* Normal read mode -SDR */
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_NORMAL] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x03, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_NORMAL + 1] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Fast read mode - SDR */
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x0B, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST + 1] = FLEXSPI_LUT_SEQ(
        kFLEXSPI_Command_DUMMY_SDR, kFLEXSPI_1PAD, 0x08, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

    /* Fast read quad mode - SDR */
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST_QUAD] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xEB, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_4PAD, 0x18),
    [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST_QUAD + 1] = FLEXSPI_LUT_SEQ(
        kFLEXSPI_Command_DUMMY_SDR, kFLEXSPI_4PAD, 0x06, kFLEXSPI_Command_READ_SDR, kFLEXSPI_4PAD, 0x04),

    /* Read extend parameters */
    [4 * NOR_CMD_LUT_SEQ_IDX_READSTATUS] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x81, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

    /* Write Enable */
    [4 * NOR_CMD_LUT_SEQ_IDX_WRITEENABLE] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x06, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Erase Sector  */
    [4 * NOR_CMD_LUT_SEQ_IDX_ERASESECTOR] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x20, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),

    /* Page Program - single mode */
    [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_SINGLE] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x02, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),
    [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_SINGLE + 1] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Page Program - quad mode */
    [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_QUAD] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x32, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),
    [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_QUAD + 1] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_4PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Read ID */
    [4 * NOR_CMD_LUT_SEQ_IDX_READID] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x9F, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

    /* Enable Quad mode */
    [4 * NOR_CMD_LUT_SEQ_IDX_WRITESTATUSREG] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x31, kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04),

    /* Enter QPI mode */
    [4 * NOR_CMD_LUT_SEQ_IDX_ENTERQPI] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x35, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Exit QPI mode */
    [4 * NOR_CMD_LUT_SEQ_IDX_EXITQPI] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_4PAD, 0xF5, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

    /* Read status register */
    [4 * NOR_CMD_LUT_SEQ_IDX_READSTATUSREG] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x05, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

    /* Erase whole chip */
    [4 * NOR_CMD_LUT_SEQ_IDX_ERASECHIP] =
        FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xC7, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const uint32_t customLUT[CUSTOM_LUT_LENGTH] = {
        /* Normal read mode -SDR */
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_NORMAL] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x13, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_NORMAL + 1] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Fast read mode - SDR */
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x0C, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST + 1] = FLEXSPI_LUT_SEQ(
            kFLEXSPI_Command_DUMMY_SDR, kFLEXSPI_1PAD, 0x08, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

        /* Fast read quad mode - SDR */
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST_QUAD] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x6C, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_READ_FAST_QUAD + 1] = FLEXSPI_LUT_SEQ(
            kFLEXSPI_Command_DUMMY_SDR, kFLEXSPI_4PAD, 0x08, kFLEXSPI_Command_READ_SDR, kFLEXSPI_4PAD, 0x04),

        /* Read extend parameters */
        [4 * NOR_CMD_LUT_SEQ_IDX_READSTATUS] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x81, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

        /* Write Enable */
        [4 * NOR_CMD_LUT_SEQ_IDX_WRITEENABLE] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x06, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Erase Sector  */
        [4 * NOR_CMD_LUT_SEQ_IDX_ERASESECTOR] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xDC, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),

        /* Page Program - single mode */
        [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_SINGLE] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x12, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_SINGLE + 1] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Page Program - quad mode */
        [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_QUAD] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x34, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM_QUAD + 1] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_4PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Read ID */
        [4 * NOR_CMD_LUT_SEQ_IDX_READID] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xAB, kFLEXSPI_Command_DUMMY_SDR, kFLEXSPI_1PAD, 0x20),
        [4 * NOR_CMD_LUT_SEQ_IDX_READID + 1] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Enable Quad mode */
        [4 * NOR_CMD_LUT_SEQ_IDX_WRITESTATUSREG] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x01, kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04),

        /* Enter QPI mode */
        [4 * NOR_CMD_LUT_SEQ_IDX_ENTERQPI] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x35, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Exit QPI mode */
        [4 * NOR_CMD_LUT_SEQ_IDX_EXITQPI] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_4PAD, 0xF5, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),

        /* Read status register */
        [4 * NOR_CMD_LUT_SEQ_IDX_READSTATUSREG] =
            FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x05, kFLEXSPI_Command_READ_SDR, kFLEXSPI_1PAD, 0x04),

		/* Erase whole chip */
		[4 * NOR_CMD_LUT_SEQ_IDX_ERASECHIP] =
			FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xC7, kFLEXSPI_Command_STOP, kFLEXSPI_1PAD, 0),
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this edit, the QSPI flash loader is able to program the entire memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hence the firmware seems to work, also when using a huge amount of flash memory (e.g. 40 MB).&lt;/P&gt;&lt;P&gt;Do you think it's right?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 10:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MIMRXT1062-crash-with-external-flash/m-p/1664222#M207176</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-06-06T10:01:02Z</dc:date>
    </item>
  </channel>
</rss>

