<?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 Return from RAM Function Causes Hard Crash in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Return-from-RAM-Function-Causes-Hard-Crash/m-p/1370760#M3428</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with a RT1060EVK and the 2.10.0 SDK in MCUXpresso 11.3.1.&lt;/P&gt;&lt;P&gt;I am working with the QSPI chip on the FexlSPI bus and the device crashes when I return from the QSPI initialization function.&amp;nbsp; Stepping through the code, everything seems to work fin in the function (proper returns, proper sequence of setup, etc...), but I crash on the very next line of code after I return from the initialization function.&amp;nbsp; It doesn't seem to mater what that actual line of code is and putting a while(1) right before the return allows the program to sit idle until I stop the debugging; placing that same while(1) right after the return does crash.&lt;/P&gt;&lt;P&gt;The QSPI functions are all placed in SDRAM and I have confirmed that all of the fsl_flexspi functions and all of my functions pertaining to the QSPI are located there.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual Hard Fault is caused by an undefined instruction and I can see that in the disassembly.&amp;nbsp; My expectation is that MCUXpresso handled all of the back and forth.&amp;nbsp; Does anyone have any suggestions on what to try?&amp;nbsp; I've been fighting with this issue for quite awhile and I'm behind in my project schedule.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 16:19:08 GMT</pubDate>
    <dc:creator>chadgraham</dc:creator>
    <dc:date>2021-11-12T16:19:08Z</dc:date>
    <item>
      <title>Return from RAM Function Causes Hard Crash</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Return-from-RAM-Function-Causes-Hard-Crash/m-p/1370760#M3428</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with a RT1060EVK and the 2.10.0 SDK in MCUXpresso 11.3.1.&lt;/P&gt;&lt;P&gt;I am working with the QSPI chip on the FexlSPI bus and the device crashes when I return from the QSPI initialization function.&amp;nbsp; Stepping through the code, everything seems to work fin in the function (proper returns, proper sequence of setup, etc...), but I crash on the very next line of code after I return from the initialization function.&amp;nbsp; It doesn't seem to mater what that actual line of code is and putting a while(1) right before the return allows the program to sit idle until I stop the debugging; placing that same while(1) right after the return does crash.&lt;/P&gt;&lt;P&gt;The QSPI functions are all placed in SDRAM and I have confirmed that all of the fsl_flexspi functions and all of my functions pertaining to the QSPI are located there.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual Hard Fault is caused by an undefined instruction and I can see that in the disassembly.&amp;nbsp; My expectation is that MCUXpresso handled all of the back and forth.&amp;nbsp; Does anyone have any suggestions on what to try?&amp;nbsp; I've been fighting with this issue for quite awhile and I'm behind in my project schedule.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 16:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Return-from-RAM-Function-Causes-Hard-Crash/m-p/1370760#M3428</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-11-12T16:19:08Z</dc:date>
    </item>
  </channel>
</rss>

