<?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 How to initializing variable placed in SDRAM in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-initializing-variable-placed-in-SDRAM/m-p/1604538#M23873</link>
    <description>&lt;P&gt;There is a SDRAM on my board,and the SDK example "semc cm7" works which write serveral bytes then read and compare.&lt;/P&gt;&lt;P&gt;I want to place some big arrays to SDRAM,and set configuration in MCUXPresso IDE:&lt;/P&gt;&lt;P&gt;1.Add "Memory details" which region is RAM8&lt;/P&gt;&lt;P&gt;2.Add "Extra linker script input sections" in "Managed Linker Script"&lt;/P&gt;&lt;P&gt;Then declare a variable:&lt;/P&gt;&lt;P&gt;__DATA(RAM8) char test[8] = {1,2,3,4,5,6,7,8};&lt;/P&gt;&lt;P&gt;But the program fails to run to main.It seems the initializing code should be placed before "copy data" code.Then I put the SDRAM initializing code(including Pin,Clock,MPU and SEMC config) after "System_init()"(before copy data code),the read&amp;amp;write test passes.But the variable "test" is not initilalized as {1,2,3,4,5,6,7,8}.&lt;/P&gt;&lt;P&gt;How Can I copy the initializing data to SDRAM just like copying data to SRAM?And Why the program fails to run in the case of I initialize SDRAM after "copy data" code since it is actually not successfully copied to SDRAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've noted that .SCP file may relate to initialize the SDRAM.What is it used for?Do you have any document?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 02:17:03 GMT</pubDate>
    <dc:creator>jake111</dc:creator>
    <dc:date>2023-02-27T02:17:03Z</dc:date>
    <item>
      <title>How to initializing variable placed in SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-initializing-variable-placed-in-SDRAM/m-p/1604538#M23873</link>
      <description>&lt;P&gt;There is a SDRAM on my board,and the SDK example "semc cm7" works which write serveral bytes then read and compare.&lt;/P&gt;&lt;P&gt;I want to place some big arrays to SDRAM,and set configuration in MCUXPresso IDE:&lt;/P&gt;&lt;P&gt;1.Add "Memory details" which region is RAM8&lt;/P&gt;&lt;P&gt;2.Add "Extra linker script input sections" in "Managed Linker Script"&lt;/P&gt;&lt;P&gt;Then declare a variable:&lt;/P&gt;&lt;P&gt;__DATA(RAM8) char test[8] = {1,2,3,4,5,6,7,8};&lt;/P&gt;&lt;P&gt;But the program fails to run to main.It seems the initializing code should be placed before "copy data" code.Then I put the SDRAM initializing code(including Pin,Clock,MPU and SEMC config) after "System_init()"(before copy data code),the read&amp;amp;write test passes.But the variable "test" is not initilalized as {1,2,3,4,5,6,7,8}.&lt;/P&gt;&lt;P&gt;How Can I copy the initializing data to SDRAM just like copying data to SRAM?And Why the program fails to run in the case of I initialize SDRAM after "copy data" code since it is actually not successfully copied to SDRAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I've noted that .SCP file may relate to initialize the SDRAM.What is it used for?Do you have any document?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 02:17:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-initializing-variable-placed-in-SDRAM/m-p/1604538#M23873</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2023-02-27T02:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to initializing variable placed in SDRAM</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-initializing-variable-placed-in-SDRAM/m-p/1610079#M24009</link>
      <description>&lt;P&gt;Anybody?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:53:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-initializing-variable-placed-in-SDRAM/m-p/1610079#M24009</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2023-03-06T14:53:17Z</dc:date>
    </item>
  </channel>
</rss>

