<?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 Re: LPC2478 how to  initialize a SDRAM  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2478-how-to-initialize-a-SDRAM/m-p/727109#M29400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you ensured that both memories are physically connected to the same base address? On your rewritten definitions, you have changed SDRAM_SIZE, but SDRAM_BASE_ADDR seems to be the same (just modifying the shift count).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;/Carlos&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2018 01:35:27 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2018-02-14T01:35:27Z</dc:date>
    <item>
      <title>LPC2478 how to  initialize a SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2478-how-to-initialize-a-SDRAM/m-p/727108#M29399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,i change a SDRAM of 32M to a SDRAM of 4M ,i &lt;SPAN style="color: #2e3033; background-color: #f9fbfc; font-size: 12px;"&gt;rewrite the code&lt;/SPAN&gt;&amp;nbsp; as following ,but it still goes wrong, where else should i rewrite? TAHNKS&lt;/P&gt;&lt;P&gt;1.#define SDRAM_SIZE 0x00800000 //8M&lt;BR /&gt;//#define SDRAM_SIZE 0x02000000 // 32M&lt;/P&gt;&lt;P&gt;2. /* 64MB, 4Mx16, 4 banks, row=12, column=8 */&lt;BR /&gt; EMC_DYN_CFG0 = 0x00000280;&lt;BR /&gt; /* 256MB, 16Mx16, 4 banks, row=13, column=9 */&lt;/P&gt;&lt;P&gt;//&lt;SPAN&gt;EMC_DYN_CFG0 = 0x00000680;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. dummy = *((volatile DWORD *)(SDRAM_BASE_ADDR | (0x33 &amp;lt;&amp;lt; 11)));&lt;BR /&gt;// dummy = *((volatile DWORD *)(SDRAM_BASE_ADDR | (0x33 &amp;lt;&amp;lt; 12))); //32M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 07:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2478-how-to-initialize-a-SDRAM/m-p/727108#M29399</guid>
      <dc:creator>haoch</dc:creator>
      <dc:date>2018-02-07T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC2478 how to  initialize a SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2478-how-to-initialize-a-SDRAM/m-p/727109#M29400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you ensured that both memories are physically connected to the same base address? On your rewritten definitions, you have changed SDRAM_SIZE, but SDRAM_BASE_ADDR seems to be the same (just modifying the shift count).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;/Carlos&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 01:35:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC2478-how-to-initialize-a-SDRAM/m-p/727109#M29400</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2018-02-14T01:35:27Z</dc:date>
    </item>
  </channel>
</rss>

