<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: MCF5235 Malloc()/Free() Failed 2</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Malloc-Free-Failed-2/m-p/138409#M2044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found the solution,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The problem was a bad old "Prefix File" in my&amp;nbsp;project "mwerks.h" that&amp;nbsp;I replaced by "ram_symbol.h" and now everything works well.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2006 16:01:21 GMT</pubDate>
    <dc:creator>Arev</dc:creator>
    <dc:date>2006-06-15T16:01:21Z</dc:date>
    <item>
      <title>MCF5235 Malloc()/Free() Failed 2</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Malloc-Free-Failed-2/m-p/138408#M2043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using malloc(), free() functions in a loop and my application crash down. When i try to free()&amp;nbsp;memory allocated with malloc(), the memory is not freed and the next malloc() call use the next memory region until whole heap memory is used&amp;nbsp;and application crash down.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When "alloc.c" file is included in my project,&amp;nbsp;both malloc() and free() work well.&lt;/DIV&gt;&lt;DIV&gt;The project uses functions from "alloc.o" instead&amp;nbsp;of "C_4i_CF_MSL.a(alloc.o)" or "C_4i_CF_StdABI_MSL.a(alloc.o)" depending on the linked library.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there any problem with Freescale libraries ??&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for Help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG border="0" height="16" src="http://forums.freescale.com/i/smilies/16x16_smiley-sad.gif" width="16" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 21:49:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Malloc-Free-Failed-2/m-p/138408#M2043</guid>
      <dc:creator>Arev</dc:creator>
      <dc:date>2006-06-06T21:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5235 Malloc()/Free() Failed 2</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Malloc-Free-Failed-2/m-p/138409#M2044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I found the solution,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The problem was a bad old "Prefix File" in my&amp;nbsp;project "mwerks.h" that&amp;nbsp;I replaced by "ram_symbol.h" and now everything works well.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 16:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5235-Malloc-Free-Failed-2/m-p/138409#M2044</guid>
      <dc:creator>Arev</dc:creator>
      <dc:date>2006-06-15T16:01:21Z</dc:date>
    </item>
  </channel>
</rss>

