<?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: K66 available RAM</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412584#M13787</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;I did a test based TWR-K65F180M board with MQX 4.2 [hello] example project.&lt;/P&gt;&lt;P&gt;I made below change at &amp;lt;intflash.ld&amp;gt; file at C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk65f180m\gcc_arm folder, then re-compile the TWR-K65F180M bsp/psp project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* kernel space starts after RAM variables (Location of MQX Kernel data + MQX heap) */&lt;/P&gt;&lt;P&gt;end_of_kd&amp;nbsp; (RW): ORIGIN = 0x2002FFF0, LENGTH = 0x00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_BASE&amp;nbsp; = 0x1FFF0000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_SIZE&amp;nbsp; = 0x00040000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SRAM_POOL = 0x2002FFF0;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_START&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x1FFF0000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00040000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_END&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x2002FFF0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, from the [MQX Lightweight Memory Pools] window shows the size is 256KB:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="K65 SRAM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25049i5C76495668297984/image-size/large?v=v2&amp;amp;px=999" role="button" title="K65 SRAM.png" alt="K65 SRAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached &amp;lt;intflash.ld&amp;gt; file for your reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Tue, 27 Oct 2015 08:32:08 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2015-10-27T08:32:08Z</dc:date>
    <item>
      <title>K66 available RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412581#M13784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am using the K66 that has a 256KB RAM and for some reason I see that only 122KB is available.&lt;/P&gt;&lt;P&gt;The project is a MQX 4.2 project and I checked this on both KDS 3 and CW 10.6.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is this set? I looked in the linker script and searched the MQX code and couldn't find this.&lt;/P&gt;&lt;P&gt;The linker script does have a setting for SRAM size but I already have it set to 0x40000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows where this is configured?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412581#M13784</guid>
      <dc:creator>ohadbenjamin</dc:creator>
      <dc:date>2015-10-20T14:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: K66 available RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412582#M13785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ohad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to modify the intflash.ld file and the&amp;nbsp; board.h file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the below images:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23907i98BB9C122D21F1A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&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/24011iA24721CFBDC17FDF/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;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Soledad&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>Tue, 20 Oct 2015 21:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412582#M13785</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-10-20T21:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: K66 available RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412583#M13786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sol,&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;I have that configured in the LD file.&lt;/P&gt;&lt;P&gt;Regarding the code you are showing, I think it's for Keil not for CW and KDS.&lt;/P&gt;&lt;P&gt;The code used is the one in the #else part of the #ifdef:&lt;/P&gt;&lt;P&gt;extern unsigned char __INTERNAL_SRAM_BASE[],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_SIZE[];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an image from a KDS run:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KDS_memory.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3412i23AA1D11A9578A88/image-size/large?v=v2&amp;amp;px=999" role="button" title="KDS_memory.png" alt="KDS_memory.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expected to see the size there as 256KB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 06:08:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412583#M13786</guid>
      <dc:creator>ohadbenjamin</dc:creator>
      <dc:date>2015-10-21T06:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: K66 available RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412584#M13787</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;I did a test based TWR-K65F180M board with MQX 4.2 [hello] example project.&lt;/P&gt;&lt;P&gt;I made below change at &amp;lt;intflash.ld&amp;gt; file at C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk65f180m\gcc_arm folder, then re-compile the TWR-K65F180M bsp/psp project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* kernel space starts after RAM variables (Location of MQX Kernel data + MQX heap) */&lt;/P&gt;&lt;P&gt;end_of_kd&amp;nbsp; (RW): ORIGIN = 0x2002FFF0, LENGTH = 0x00000000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_BASE&amp;nbsp; = 0x1FFF0000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __INTERNAL_SRAM_SIZE&amp;nbsp; = 0x00040000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __SRAM_POOL = 0x2002FFF0;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_START&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x1FFF0000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00040000;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __UNCACHED_DATA_END&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x2002FFF0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, from the [MQX Lightweight Memory Pools] window shows the size is 256KB:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="K65 SRAM.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/25049i5C76495668297984/image-size/large?v=v2&amp;amp;px=999" role="button" title="K65 SRAM.png" alt="K65 SRAM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I attached &amp;lt;intflash.ld&amp;gt; file for your reference.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&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>Tue, 27 Oct 2015 08:32:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412584#M13787</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-10-27T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: K66 available RAM</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412585#M13788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;The changes that were missing in my linker script are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;end_of_kd&amp;nbsp; (RW): ORIGIN = 0x2002FFF0, LENGTH = 0x00000000&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;__UNCACHED_DATA_SIZE&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00040000;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;__UNCACHED_DATA_END&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x2002FFF0;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Could you add a brief explanation or point me to the documentation of these parameters?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How are these changes used to allow a larger RAM size?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 09:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/K66-available-RAM/m-p/412585#M13788</guid>
      <dc:creator>ohadbenjamin</dc:creator>
      <dc:date>2015-10-27T09:22:10Z</dc:date>
    </item>
  </channel>
</rss>

