<?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 MQX + Multiplexed bus in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203052#M4711</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;I have read the document AN3854 and I did mounted my Hardware with a multiplexed memory like Item 3.3. The problem is that in this mode read/write byte is not supported. In this case, can I implement tasks and dynamic memory with this MRAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In pratice, this function works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_RTCS_mem_pool = _mem_create_pool((pointer)DEMOCFG_RTCS_POOL_ADDR, DEMOCFG_RTCS_POOL_SIZE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But after RTCS_create() and its configuration, i can see that "ping" stops work. When I don't configure for MRAM, the code works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My conclusion is: MQX + Multiplexed MRAM doesn't work for tasks/pools of tasks, only for allocation memory, is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Att&lt;/P&gt;&lt;P&gt;Thiago Esteves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 May 2010 01:13:07 GMT</pubDate>
    <dc:creator>ThiagoE</dc:creator>
    <dc:date>2010-05-25T01:13:07Z</dc:date>
    <item>
      <title>MQX + Multiplexed bus</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203052#M4711</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;I have read the document AN3854 and I did mounted my Hardware with a multiplexed memory like Item 3.3. The problem is that in this mode read/write byte is not supported. In this case, can I implement tasks and dynamic memory with this MRAM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In pratice, this function works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_RTCS_mem_pool = _mem_create_pool((pointer)DEMOCFG_RTCS_POOL_ADDR, DEMOCFG_RTCS_POOL_SIZE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But after RTCS_create() and its configuration, i can see that "ping" stops work. When I don't configure for MRAM, the code works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My conclusion is: MQX + Multiplexed MRAM doesn't work for tasks/pools of tasks, only for allocation memory, is that correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Att&lt;/P&gt;&lt;P&gt;Thiago Esteves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 May 2010 01:13:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203052#M4711</guid>
      <dc:creator>ThiagoE</dc:creator>
      <dc:date>2010-05-25T01:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: MQX + Multiplexed bus</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203053#M4712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you were said in another thread, you can use _task_create_at, where you can specify a pool in which the stack for a task is allocated.&lt;/P&gt;&lt;P&gt;There is no difference between allocated stack and allocated memory, both are allocated the same way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 20:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203053#M4712</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-06-01T20:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: MQX + Multiplexed bus</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203054#M4713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ThiagoE,&lt;/P&gt;&lt;P&gt;I've seen timing issues with respect to Ethernet (like DHCP'ing) when Ethernet data and stack are in MRAM.&amp;nbsp; I believe that since the external memory is 8 times slower than internal memory (or that is what my memory recalls).&amp;nbsp; So when I've run the web_hvac demo and used MRAM for data/stack space, the application runs but DHCP fails.&lt;/P&gt;&lt;P&gt;To solve this I place MRAM after the internal SRAM address space so that RTCS data/stack are accessed out of internal (fast)SRAM.&lt;/P&gt;&lt;P&gt;Alternatively try to use your _mem_create_pool() and point it to internal SRAM to see if it works.&amp;nbsp; I haven't tried that method yet as fyi.&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>Thu, 03 Jun 2010 00:39:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203054#M4713</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2010-06-03T00:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: MQX + Multiplexed bus</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203055#M4714</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;How do you place MRAM after the internal SRAM address space? modifying linker command file and redefinin CS base address for mini flex bus?. Are&amp;nbsp;you capable to extend the kernel data space with MRAM using this method?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using MRAM in the default address space (0x10000000), created a pool in that space and using _task&amp;nbsp;_create_at, _mem_alloc_from to decompress my SRAM usage. But Ethernet and web server are ram demanding and i get an OUT_OF_MEMORY task message from TCPIP task under certain circunstances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any documentation about memory management in MQX?.&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>Tue, 15 Mar 2011 00:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Multiplexed-bus/m-p/203055#M4714</guid>
      <dc:creator>madifazio</dc:creator>
      <dc:date>2011-03-15T00:13:09Z</dc:date>
    </item>
  </channel>
</rss>

