<?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中的主题 Re: Moving RTCS Rx/TX buffers to FlexRAM</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Moving-RTCS-Rx-TX-buffers-to-FlexRAM/m-p/312662#M10036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is definitely not recommended. We have already experimented that when the Tx/Rx buffers are moved out of the internal SRAM causes failures in the TCPIP even it they were successfully configured. This also applies for the USB buffers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Garabo&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>Thu, 10 Apr 2014 19:18:10 GMT</pubDate>
    <dc:creator>Luis_Garabo</dc:creator>
    <dc:date>2014-04-10T19:18:10Z</dc:date>
    <item>
      <title>Moving RTCS Rx/TX buffers to FlexRAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Moving-RTCS-Rx-TX-buffers-to-FlexRAM/m-p/312661#M10035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had success moving RTCS Rx/Tx buffers to external memory? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my board design I have some external SRAM available which I have configured the FlexMemory for and its works well (according to my memory tests). I've moved several of my application memory pools to the SRAM and they function as expected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had some partial success moving some of the RTCS partitions&amp;nbsp; out to the external SRAM by defining a memory pool using&amp;nbsp; global _RTCS_mem_pool. That has worked fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to move the actual Rx/Tx buffers&amp;nbsp; to the FlexMemory ( by defining _BSP_sram_pool and the user_config.h defines, see code snippet from macnet_init.c)&amp;nbsp; I dont get any response for TCP stack. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#if BSPCFG_HAS_SRAM_POOL &amp;amp;&amp;amp; BSPCFG_ENET_SRAM_BUF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; buf_ptr = _mem_alloc_system_from(_BSP_sram_pool, rxsize + txsize + ssize + lsize);&lt;/P&gt;&lt;P&gt;#else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; buf_ptr = _mem_alloc_system_uncached(rxsize + txsize + ssize + lsize);&amp;nbsp; // temporary fix for cache problems... previously _mem_alloc_system&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its likely that its some caching related issue, but I find it hard to find documentation on how to disable cacheing on FlexMemory (or sections of it).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the user_config&amp;nbsp; MQX_USE_UNCACHED_RAM&amp;nbsp; but its conflicts with my lw_mem_allocs that I use and I'm loathe to give up because of shared app code that I use with another board running a Kinetis K21. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using MQX 4.0.2 on a Kinetis K60 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 12:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Moving-RTCS-Rx-TX-buffers-to-FlexRAM/m-p/312661#M10035</guid>
      <dc:creator>stevemiller</dc:creator>
      <dc:date>2014-04-08T12:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Moving RTCS Rx/TX buffers to FlexRAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Moving-RTCS-Rx-TX-buffers-to-FlexRAM/m-p/312662#M10036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is definitely not recommended. We have already experimented that when the Tx/Rx buffers are moved out of the internal SRAM causes failures in the TCPIP even it they were successfully configured. This also applies for the USB buffers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Garabo&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>Thu, 10 Apr 2014 19:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Moving-RTCS-Rx-TX-buffers-to-FlexRAM/m-p/312662#M10036</guid>
      <dc:creator>Luis_Garabo</dc:creator>
      <dc:date>2014-04-10T19:18:10Z</dc:date>
    </item>
  </channel>
</rss>

