<?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: Can I extend default memory pool with MRAM? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187295#M3381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I'm trying to shack the FSL tree to get a reply.&amp;nbsp; Hopefully soon as this is a good question and one that I feel would be a good entry to our FAQ.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2011 23:28:34 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2011-03-04T23:28:34Z</dc:date>
    <item>
      <title>Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187293#M3379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(using&amp;nbsp;twrmcf52259 and cw10)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I been reading a lot of forum messages, freescale documentation and source code trying to understand this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our application is low on memory, so we bought a TWR_MEM module to increase system RAM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Until now 2 aproaches was used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) we use _mem_extend() function. We have a modal dialog that show something like "An address outside of the KERNEL DATA area was detected: 0x100002e3, this may mean kernel data corruption". This ocurs because when sram is full, consecutive calls to _mem_alloc() returns memory from MRAM that is outside of KERNEL DATA range defined in the linker command file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) modify the linker command file, redefining the ram sector to be located in the MRAM address space at 0x10000000 and 0x80000 size. In this case our web server is no longer available( posibly due a poor performance of MRAM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone help us? Is posible extend the default memory pool with MRAM?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 05:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187293#M3379</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2011-03-02T05:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187294#M3380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for an answer to this as well. My question is pretty much the same, except I'm using 1MB of SRAM. But it's still tied off the FlexBus in exactly the same way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_mem_extend() &lt;EM&gt;seems&lt;/EM&gt;&amp;nbsp;to run correctly, but my application kind of stops working properly after that. The task-aware-debugger doesn't seem to properly report on the default memory pool anymore, I get the error about being outside kernel data, and my application stops working at about the time I expect memory is starting to get allocated in the external RAM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 13:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187294#M3380</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-03-04T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187295#M3381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I'm trying to shack the FSL tree to get a reply.&amp;nbsp; Hopefully soon as this is a good question and one that I feel would be a good entry to our FAQ.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 23:28:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187295#M3381</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-03-04T23:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187296#M3382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now we create a new pool of memory in MRAM to decompress SRAM sending to the new pool those tasks that not require a good performance.&lt;/P&gt;&lt;P&gt;I will wait the reply to the original question.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Mar 2011 04:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187296#M3382</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2011-03-06T04:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187297#M3383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any news on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 01:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187297#M3383</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2011-03-17T01:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187298#M3384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not yet,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to use _mem_extend, i was using #define&amp;nbsp;MQX_USE_MEM 1 in user_config.h. I actually comment this line to use lwmem and my program work better. Web server running, ftp server running, my own server using sockets running.&lt;/P&gt;&lt;P&gt;All low priority tasks run from MRAM, I encapsulate mallocs to allocate from MRAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps in MQX 3.7 we have a method to extend default memory pool with MRAM. and documented functions like _task_create_at&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 01:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187298#M3384</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2011-03-17T01:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187299#M3385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem.&amp;nbsp; If I use _mem_extend() before creating tasks or my kernel log then when stopping the debugger or saving performance data in Codewarrior I get the kernel data corruption errors and the addresses given are those in my extended memory address range.&amp;nbsp; HOWEVER, it appears that my code is running fine on the board.&amp;nbsp; It is as if the debugger Task Aware Debugging is not aware of the extended memory, though the MQX tools seem to know of it; I can select the MQX-&amp;gt;Memory Extension Blocks menu item and it correctly shows the new block address and size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts anyone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 22:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187299#M3385</guid>
      <dc:creator>ErikSeavey</dc:creator>
      <dc:date>2011-05-11T22:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Can I extend default memory pool with MRAM?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187300#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was anyone able to make any progress on this. I am facing a problem of insufficient heap memory and I was hoping to resovle my issues via addition of&amp;nbsp; the TWR-MEM card.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be welcome or if anyone could share what changes would be required to MQX it would be great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 18:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-I-extend-default-memory-pool-with-MRAM/m-p/187300#M3386</guid>
      <dc:creator>Akshaya_Mukund</dc:creator>
      <dc:date>2012-07-26T18:26:42Z</dc:date>
    </item>
  </channel>
</rss>

