<?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: K70 Data memory Relocating to DDR in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364115#M18658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VGS, I am assuming you are trying to get heap memory allocated on your DDR.&amp;nbsp; This is closely related to what I am doing and the answer David Seymour gave regarding external RAM should help you.&amp;nbsp; His answer has an ld file and a small example code file that may help you.&amp;nbsp; I expect you are using the default intflash_ddrdata.ld file which puts your DDR at 0x70000000.&amp;nbsp; Be sure your __EXTERNAL_DDR2_RAM_SIZE is correct for your system if you are working from your own board.&amp;nbsp; Otherwise it should just work.&amp;nbsp; Personally, I use _lwmem_alloc_zero_from(my_pool_id, size) when I want to use the external memory and let the MQS OS functions use the faster internal SRAM.&amp;nbsp; &lt;A href="https://community.nxp.com/thread/343344"&gt;Viewing external RAM as lwmem&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 12:35:15 GMT</pubDate>
    <dc:creator>kecart</dc:creator>
    <dc:date>2015-03-06T12:35:15Z</dc:date>
    <item>
      <title>K70 Data memory Relocating to DDR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364114#M18657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)I am using Kinetis K70 TWR with codewarrior 10.4 baremetal.&lt;/P&gt;&lt;P&gt;2)I want to load my application code to Flash memory and keep data on DDR only(my data exceeds on chip 128KB RAM)&lt;/P&gt;&lt;P&gt;3) To accomplish above requirment what steps to be followed? Can i get example configuration for the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;VGS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 09:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364114#M18657</guid>
      <dc:creator>VGS</dc:creator>
      <dc:date>2015-03-06T09:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Data memory Relocating to DDR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364115#M18658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;VGS, I am assuming you are trying to get heap memory allocated on your DDR.&amp;nbsp; This is closely related to what I am doing and the answer David Seymour gave regarding external RAM should help you.&amp;nbsp; His answer has an ld file and a small example code file that may help you.&amp;nbsp; I expect you are using the default intflash_ddrdata.ld file which puts your DDR at 0x70000000.&amp;nbsp; Be sure your __EXTERNAL_DDR2_RAM_SIZE is correct for your system if you are working from your own board.&amp;nbsp; Otherwise it should just work.&amp;nbsp; Personally, I use _lwmem_alloc_zero_from(my_pool_id, size) when I want to use the external memory and let the MQS OS functions use the faster internal SRAM.&amp;nbsp; &lt;A href="https://community.nxp.com/thread/343344"&gt;Viewing external RAM as lwmem&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 12:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364115#M18658</guid>
      <dc:creator>kecart</dc:creator>
      <dc:date>2015-03-06T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Data memory Relocating to DDR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364116#M18659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly &lt;/P&gt;&lt;P&gt;Thanks for the suggestion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Mar 2015 05:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364116#M18659</guid>
      <dc:creator>VGS</dc:creator>
      <dc:date>2015-03-07T05:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Data memory Relocating to DDR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364117#M18660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kelly&lt;/P&gt;&lt;P&gt;Thanks Again for the suggestion. But I am not familiar with MQX .Is there any code example or suggestion about how to achieve this in bare-metal code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364117#M18660</guid>
      <dc:creator>VGS</dc:creator>
      <dc:date>2015-03-09T05:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Data memory Relocating to DDR</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364118#M18661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi VGS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look to this document &lt;A href="https://community.nxp.com/docs/DOC-101433"&gt;Relocating Code and Data Using the CW GCC Linker File for Kinetis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After following the document you will be also able to check the MQX linker file and understand how it relocates data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 18:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Data-memory-Relocating-to-DDR/m-p/364118#M18661</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-03-11T18:22:35Z</dc:date>
    </item>
  </channel>
</rss>

