<?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>Kinetis MicrocontrollersのトピックRe: insufficient heap size at a released demo project</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748568#M45566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks...&lt;BR /&gt;&lt;BR /&gt;There is one question open. How can I set fixed memory like array[1024] to a fixed address.&lt;/P&gt;&lt;P&gt;How can I tell it the linker?&lt;/P&gt;&lt;P&gt;I know this is a C language question but I would not have it when this ristriction of the memory didn't exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2018 18:34:19 GMT</pubDate>
    <dc:creator>tirak</dc:creator>
    <dc:date>2018-03-15T18:34:19Z</dc:date>
    <item>
      <title>insufficient heap size at a released demo project</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748564#M45562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot understand why the NXP support team releases a demo for the MK60 tower board&lt;/P&gt;&lt;P&gt;-&amp;gt; &lt;EM&gt;twrk60d100m_demo_apps_lwip_lwip_ping_freertos&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;that leads into a failed compilation cos insufficient heap size.&lt;/P&gt;&lt;P&gt;After some invastigation I figured out it is a problem of the 2 RAM areas of the M4 core&lt;/P&gt;&lt;P&gt;(unfortunately I realized this only after this issue occured)&lt;/P&gt;&lt;P&gt;But why NXP releases a demo that doesn't work?&amp;nbsp;For a beginner it is not funny.&lt;/P&gt;&lt;P&gt;Is it a M4 problem or a special NXP design issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: twrk60d100m_demo_apps_lwip_lwip_ping_freertos.axf section `.heap' will not fit in region `SRAM_UPPER'&lt;BR /&gt; &lt;STRONG&gt;SRAM_UPPER: 82240 B 64 KB 125.49%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I fix this problem without run into danger the CPU makes an access at this border&amp;nbsp;0x20000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how can I tell the linker to set for example an fixed array[4096] into the SRAM_LOWER area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2018 12:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748564#M45562</guid>
      <dc:creator>tirak</dc:creator>
      <dc:date>2018-03-11T12:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient heap size at a released demo project</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748565#M45563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a memory boundary at 0x2000'0000 because of the two memory controllers. See &lt;A class="link-titled" href="https://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/" title="https://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/"&gt;FreeRTOS Heap with Segmented Kinetis K SRAM | MCU on Eclipse&lt;/A&gt;&amp;nbsp; for a discussion and how to allocate the heap into different memory areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would like to have multiple memory regions, see the following article.:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2017/09/18/using-multiple-memory-regions-with-the-freertos-heap/" title="https://mcuoneclipse.com/2017/09/18/using-multiple-memory-regions-with-the-freertos-heap/"&gt;Using Multiple Memory Regions with the FreeRTOS Heap | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 06:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748565#M45563</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-03-12T06:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient heap size at a released demo project</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748566#M45564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really. Cos I don't know how to mage it with MCUExpresso. All your&lt;/P&gt;&lt;P&gt;examples refer to Kinetis Studio and Processor Expert.&lt;/P&gt;&lt;P&gt;Do you suggest to use this IDE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am 12.03.2018 um 07:48 schrieb BlackNight:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;  NXP Community&lt;/P&gt;&lt;P&gt;  &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Re: insufficient heap size at a released demo project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Erich Styger&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/people/BlackNight?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;in /Kinetis Microcontrollers/ - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.nxp.com/message/994363?commentID=994363&amp;amp;et=watches.email.thread#comment-994363&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 18:40:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748566#M45564</guid>
      <dc:creator>tirak</dc:creator>
      <dc:date>2018-03-13T18:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient heap size at a released demo project</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748567#M45565</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;EM&gt;Currently twrk60d100m_demo_apps_lwip_lwip_ping_freertos&lt;/EM&gt; is not supported by MCUXpresso. You can see the readme file in its directory. If you want to use MCUXpresso, you can open a &lt;EM&gt;twrk60d100m_demo_apps_lwip_lwip_ping_&lt;/EM&gt;bm and copy related file to that project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 03:26:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748567#M45565</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-03-15T03:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: insufficient heap size at a released demo project</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748568#M45566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks...&lt;BR /&gt;&lt;BR /&gt;There is one question open. How can I set fixed memory like array[1024] to a fixed address.&lt;/P&gt;&lt;P&gt;How can I tell it the linker?&lt;/P&gt;&lt;P&gt;I know this is a C language question but I would not have it when this ristriction of the memory didn't exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 18:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/insufficient-heap-size-at-a-released-demo-project/m-p/748568#M45566</guid>
      <dc:creator>tirak</dc:creator>
      <dc:date>2018-03-15T18:34:19Z</dc:date>
    </item>
  </channel>
</rss>

