<?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>MQX Software SolutionsのトピックK65 SDRAM as Default RAM</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657955#M17276</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;Can somebody show&amp;nbsp;me the steps required to switch the TWR-K65F180 MQX 4.2 configuration to use the external&amp;nbsp;SDRAM instead of internal SRAM? &amp;nbsp;I'm using the cw10gcc projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 13:27:05 GMT</pubDate>
    <dc:creator>Mike_d</dc:creator>
    <dc:date>2016-10-21T13:27:05Z</dc:date>
    <item>
      <title>K65 SDRAM as Default RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657955#M17276</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;Can somebody show&amp;nbsp;me the steps required to switch the TWR-K65F180 MQX 4.2 configuration to use the external&amp;nbsp;SDRAM instead of internal SRAM? &amp;nbsp;I'm using the cw10gcc projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 13:27:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657955#M17276</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2016-10-21T13:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: K65 SDRAM as Default RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657956#M17277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX 4.2 BSP has SDRAM support for TWR-K65F180M.&amp;nbsp; You need to enable BSPCFG_ENABLE_SDRAMC in user_config.h file before building MQX libraries. You can refer to SDRAMC demo under the MQX installation folder.&amp;nbsp; C:\Freescale\Freescale_MQX_4_2\mqx\examples\sdramc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to use SDRAM as the default RAM, I think you can try the function _mem_extend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6537iB6B2117E3C62C648/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;_&lt;EM&gt;mem&lt;/EM&gt;_extend(BSP_SDRAM_BASE, BSP_SDRAM_SIZE).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After call _mem_extend, then system will allocate memory from SDRAM space.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 06:56:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657956#M17277</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-10-25T06:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: K65 SDRAM as Default RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657957#M17278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Daniel, I will try it out. &amp;nbsp;Where do you recommend I call the _mem_extend function? &amp;nbsp;Before OS init or before App init?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657957#M17278</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2016-10-25T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: K65 SDRAM as Default RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657958#M17279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest you call _mem_extend from a task, then MQX kernel data will be in SRAM and memory pool for dynamic memeory allocation will be in SDRAM.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&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, 26 Oct 2016 05:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K65-SDRAM-as-Default-RAM/m-p/657958#M17279</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-10-26T05:04:46Z</dc:date>
    </item>
  </channel>
</rss>

