<?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 RT1062 SDRAM Primary Memory Issue in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/RT1062-SDRAM-Primary-Memory-Issue/m-p/1041290#M5550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a RT1060 dev board with the latest version of MCUXpresso.&amp;nbsp; Following the instructions from some other posts (&lt;A href="https://community.nxp.com/thread/467217"&gt;Does debug init SDRAM for xip app on MIMXRT1052?&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.nxp.com/migration-blogpost/10894"&gt;Overview of using the MIMXRT1050-EVK(B) with MCUXpresso IDE&lt;/A&gt;), I can successfully get the SDK example iled_blinky to compile and run&amp;nbsp;using the SDRAM and the primary RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I try the same steps with my application, the application compiles and runs, but the debugger immediately stops working with the code.&amp;nbsp; Interestingly, the run button is still active and hitting it again causes the program to start, but the debugger is not running.&amp;nbsp; (I can tell that the application is still running based on&amp;nbsp;how the board reacts to external stimulus.)&amp;nbsp; Does anyone have any suggestions on what to check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: if I undo all of the changes to required to convert it to run from the SDRAM, the application runs without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the hard fault generated after hitting run:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Active faults&lt;BR /&gt;Bus Fault (BFSR)&lt;BR /&gt; IMPRECISERR (2) Imprecise data bus error&lt;BR /&gt;Hard Fault (HFSR)&lt;BR /&gt; FORCED (30) Indicates a forced hard fault, generated by escalation of a fault with configurable priority that cannot be handled, either because of priority or because it is disabled&lt;BR /&gt; VECTTBL (1) Indicates a BusFault on a vector table read during exception processing&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Fault Status Registers&lt;BR /&gt;IPSR 0x00000003 Exception Status Register (Hard Fault)&lt;BR /&gt;CFSR 0x00000400 Configurable fault Status Register&lt;BR /&gt;MMSR 0x00000000 Memory Manage fault Status Register&lt;BR /&gt;BFSR 0x00000004 Bus fault Status Register&lt;BR /&gt;UFSR 0x00000000 User fault Status Register&lt;BR /&gt;HFSR 0x40000002 Hard fault Status Register&lt;BR /&gt;DFSR 0x00000000 Debug fault Status Register&lt;BR /&gt;MMAR 0x00000000 Memory Manage fault Address Register&lt;BR /&gt;BFAR 0x00000000 Bus fault Address Register&lt;BR /&gt;ABFSR 0x00000308 Auxiliary Bus Fault Status Register&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Stacked Registers (MSP LR/EXC_RETURN=0xfffffff1)&lt;BR /&gt;R0 0x00000112 &lt;BR /&gt;R1 0x00000000 &lt;BR /&gt;R2 0x0000000C &lt;BR /&gt;R3 0x402F0000 &lt;BR /&gt;R12 0x8003E584 &lt;BR /&gt;LR 0x8002A96B &lt;BR /&gt;PC 0x80008D08 &lt;BR /&gt;PSR 0x4100000E &lt;BR /&gt;MSP 0x81BFFF90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2020 17:19:42 GMT</pubDate>
    <dc:creator>chadgraham</dc:creator>
    <dc:date>2020-06-29T17:19:42Z</dc:date>
    <item>
      <title>RT1062 SDRAM Primary Memory Issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/RT1062-SDRAM-Primary-Memory-Issue/m-p/1041290#M5550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a RT1060 dev board with the latest version of MCUXpresso.&amp;nbsp; Following the instructions from some other posts (&lt;A href="https://community.nxp.com/thread/467217"&gt;Does debug init SDRAM for xip app on MIMXRT1052?&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A href="https://community.nxp.com/migration-blogpost/10894"&gt;Overview of using the MIMXRT1050-EVK(B) with MCUXpresso IDE&lt;/A&gt;), I can successfully get the SDK example iled_blinky to compile and run&amp;nbsp;using the SDRAM and the primary RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I try the same steps with my application, the application compiles and runs, but the debugger immediately stops working with the code.&amp;nbsp; Interestingly, the run button is still active and hitting it again causes the program to start, but the debugger is not running.&amp;nbsp; (I can tell that the application is still running based on&amp;nbsp;how the board reacts to external stimulus.)&amp;nbsp; Does anyone have any suggestions on what to check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: if I undo all of the changes to required to convert it to run from the SDRAM, the application runs without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the hard fault generated after hitting run:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Active faults&lt;BR /&gt;Bus Fault (BFSR)&lt;BR /&gt; IMPRECISERR (2) Imprecise data bus error&lt;BR /&gt;Hard Fault (HFSR)&lt;BR /&gt; FORCED (30) Indicates a forced hard fault, generated by escalation of a fault with configurable priority that cannot be handled, either because of priority or because it is disabled&lt;BR /&gt; VECTTBL (1) Indicates a BusFault on a vector table read during exception processing&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Fault Status Registers&lt;BR /&gt;IPSR 0x00000003 Exception Status Register (Hard Fault)&lt;BR /&gt;CFSR 0x00000400 Configurable fault Status Register&lt;BR /&gt;MMSR 0x00000000 Memory Manage fault Status Register&lt;BR /&gt;BFSR 0x00000004 Bus fault Status Register&lt;BR /&gt;UFSR 0x00000000 User fault Status Register&lt;BR /&gt;HFSR 0x40000002 Hard fault Status Register&lt;BR /&gt;DFSR 0x00000000 Debug fault Status Register&lt;BR /&gt;MMAR 0x00000000 Memory Manage fault Address Register&lt;BR /&gt;BFAR 0x00000000 Bus fault Address Register&lt;BR /&gt;ABFSR 0x00000308 Auxiliary Bus Fault Status Register&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Stacked Registers (MSP LR/EXC_RETURN=0xfffffff1)&lt;BR /&gt;R0 0x00000112 &lt;BR /&gt;R1 0x00000000 &lt;BR /&gt;R2 0x0000000C &lt;BR /&gt;R3 0x402F0000 &lt;BR /&gt;R12 0x8003E584 &lt;BR /&gt;LR 0x8002A96B &lt;BR /&gt;PC 0x80008D08 &lt;BR /&gt;PSR 0x4100000E &lt;BR /&gt;MSP 0x81BFFF90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 17:19:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/RT1062-SDRAM-Primary-Memory-Issue/m-p/1041290#M5550</guid>
      <dc:creator>chadgraham</dc:creator>
      <dc:date>2020-06-29T17:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: RT1062 SDRAM Primary Memory Issue</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/RT1062-SDRAM-Primary-Memory-Issue/m-p/1041291#M5551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="352714" data-username="chadgraham@cogmedix.com" href="https://community.nxp.com/people/chadgraham@cogmedix.com"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;Chad Graham&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you use your application code, do you download the complete app to the SDRAM, or just partial code in the SDRAM, and others in the flash?&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 style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2020 06:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/RT1062-SDRAM-Primary-Memory-Issue/m-p/1041291#M5551</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2020-07-01T06:49:09Z</dc:date>
    </item>
  </channel>
</rss>

