<?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 Design Studio中的主题 Re: malloc</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645519#M8397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've also got a problem with malloc and fear the runtime is not properly set up.&lt;BR /&gt;Behavior here will be &lt;SPAN style="text-decoration: underline;"&gt;highly&lt;/SPAN&gt; dependent on which libraries you've selected.&lt;BR /&gt;In any case, two things you should check:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Look at the address returned by first malloc.&lt;BR /&gt;Is it in the area you expect (ie, heap in m_data2), or somewhere in m_data?&lt;/LI&gt;&lt;LI&gt;Beware that over-rides (as used for sizes) of the LD file do not work due to KDS bugs;&lt;BR /&gt;linker command line is improperly constructed.&lt;BR /&gt;I'll try post something about that here for NXP to ignore.&lt;BR /&gt;Check that you &lt;SPAN style="text-decoration: underline;"&gt;really&lt;/SPAN&gt; got the space you expected by carefully checking the map.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helps!&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Dec 2016 21:51:28 GMT</pubDate>
    <dc:creator>davenadler</dc:creator>
    <dc:date>2016-12-27T21:51:28Z</dc:date>
    <item>
      <title>malloc</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645518#M8396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing a hard metal app on the K82 with KDS 3.2. &amp;nbsp;I am using a link list with malloc and free but the mallocs are failing. &amp;nbsp;The heap is set in the .ld file to 0x8000. &amp;nbsp;Why is the malloc failing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 16:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645518#M8396</guid>
      <dc:creator>chriswestervelt</dc:creator>
      <dc:date>2016-12-27T16:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: malloc</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645519#M8397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've also got a problem with malloc and fear the runtime is not properly set up.&lt;BR /&gt;Behavior here will be &lt;SPAN style="text-decoration: underline;"&gt;highly&lt;/SPAN&gt; dependent on which libraries you've selected.&lt;BR /&gt;In any case, two things you should check:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Look at the address returned by first malloc.&lt;BR /&gt;Is it in the area you expect (ie, heap in m_data2), or somewhere in m_data?&lt;/LI&gt;&lt;LI&gt;Beware that over-rides (as used for sizes) of the LD file do not work due to KDS bugs;&lt;BR /&gt;linker command line is improperly constructed.&lt;BR /&gt;I'll try post something about that here for NXP to ignore.&lt;BR /&gt;Check that you &lt;SPAN style="text-decoration: underline;"&gt;really&lt;/SPAN&gt; got the space you expected by carefully checking the map.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helps!&lt;BR /&gt;Best Regards, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2016 21:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645519#M8397</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2016-12-27T21:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: malloc</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645520#M8398</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;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenient to you , i have reported it to KDS team,&lt;/P&gt;&lt;P&gt;and i will reply to you .ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 09:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645520#M8398</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-12-29T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: malloc</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645521#M8399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Alice_Yang wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the inconvenient to you , i have reported it to KDS team,&lt;/P&gt;&lt;P&gt;and i will reply to you .ASAP.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Alice, did you mean to reply to this thread: &lt;A _jive_internal="true" href="https://community.nxp.com/thread/441637"&gt;https://community.nxp.com/message/863981&lt;/A&gt; ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 16:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645521#M8399</guid>
      <dc:creator>davenadler</dc:creator>
      <dc:date>2016-12-30T16:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: malloc</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645522#M8400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;I find the two problem is the same , so i will reply you at this thread :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/441643"&gt;https://community.nxp.com/thread/441643&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now I haven't get the answer.&lt;/P&gt;&lt;P&gt;Sorry for the inconvenient to you .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/malloc/m-p/645522#M8400</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-01-04T02:16:17Z</dc:date>
    </item>
  </channel>
</rss>

