<?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 Unable to Step Through Function in RAM in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-Step-Through-Function-in-RAM/m-p/1356015#M7544</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my project, I am writing a custom Bootloader using a RT1060EVK and have the major portion of the code setup as XIP.&amp;nbsp; I am trying use the program to erase/program/check a different section of the onboard QSPI device so I can "update" the device.&amp;nbsp; I have taken steps to place the entire QSPI access function class in the SDRAM and I am getting a hard fault (Invalid State) when I execute my code.&lt;/P&gt;&lt;P&gt;To debug this, I would like to step through the code to see where the actual crash occurs.&amp;nbsp; Unfortunately, I can only run the program to the first breakpoint and then the program will progress no further.&amp;nbsp; (I have to move the breakpoint and restart the application to "step" to the next line.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on what needs to change to enable the IDE to step through functions in RAM?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Oct 2021 18:37:33 GMT</pubDate>
    <dc:creator>chadgraham</dc:creator>
    <dc:date>2021-10-14T18:37:33Z</dc:date>
    <item>
      <title>Unable to Step Through Function in RAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-Step-Through-Function-in-RAM/m-p/1356015#M7544</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In my project, I am writing a custom Bootloader using a RT1060EVK and have the major portion of the code setup as XIP.&amp;nbsp; I am trying use the program to erase/program/check a different section of the onboard QSPI device so I can "update" the device.&amp;nbsp; I have taken steps to place the entire QSPI access function class in the SDRAM and I am getting a hard fault (Invalid State) when I execute my code.&lt;/P&gt;&lt;P&gt;To debug this, I would like to step through the code to see where the actual crash occurs.&amp;nbsp; Unfortunately, I can only run the program to the first breakpoint and then the program will progress no further.&amp;nbsp; (I have to move the breakpoint and restart the application to "step" to the next line.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on what needs to change to enable the IDE to step through functions in RAM?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 18:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-Step-Through-Function-in-RAM/m-p/1356015#M7544</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2021-10-14T18:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Step Through Function in RAM</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-Step-Through-Function-in-RAM/m-p/1357050#M7551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/101064"&gt;@chadgraham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You mean you want to debug the code in SDRAM? You can try to add '--cachelib libm7_cache.so' into RUN-&amp;gt;Debug configure-&amp;gt;project name-&amp;gt; LinkServer Debugger-&amp;gt;Additinal options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 08:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Unable-to-Step-Through-Function-in-RAM/m-p/1357050#M7551</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-18T08:22:22Z</dc:date>
    </item>
  </channel>
</rss>

