<?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>topic Re: Memory full? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535162#M4487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wortel on Wed Feb 09 07:03:16 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh my!! I was sooo sure that I was having a 128k chip! But it is actually a 32k (LPC1751).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Owh, my bad... shame on me :$... thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:59:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:59:18Z</dc:date>
    <item>
      <title>Memory full?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535159#M4484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wortel on Wed Feb 09 03:45:04 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I've used the demo FreeRtOS and combined it with the i2c, spi, analog and UART demo's to get a working setup. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do use the printf routine and retargeted it (done using the demo code) to output to the UART.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There arent any calculations yet done, only some small variables &amp;lt;20 bytes each for each demo to store some external data (gyro, accelero meter, temp).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I get this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DescriptionResourcePathLocationType&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [SimpleDemo.axf] Error 1SimpleDemoline 0C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;region MFlash32 overflowed by 192 bytesSimpleDemoline 0C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SimpleDemo.axf section .data will not fit in region MFlash32SimpleDemoline 0C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove a single printf, the overflowed error indeed reduces. Does it mean that the memory is already full?&amp;nbsp; I almost can't believe it since I do not have that many things yet in my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would an upgrade of red suite offer an solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The last time that it DID compile, this was my status:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hexfilename
&amp;nbsp; 31892&amp;nbsp;&amp;nbsp;&amp;nbsp; 532&amp;nbsp;&amp;nbsp; 4552&amp;nbsp; 36976&amp;nbsp;&amp;nbsp; 9070SimpleDemo.axf
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From that I conclude that i used only 32k for code? and 6k for data? Far less than 128k I think...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535159#M4484</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535160#M4485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Feb 09 04:33:54 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You haven't said what your target is, but from the errors, I would assume that you are using one with only 32k of Flash. This error is reporting that you are trying to put more into flash than is available on the target device...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. The amount of Flash used is text+data and the amount of RAM used is data+bss, plus whatever you use for stack and heap&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535160#M4485</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535161#M4486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Feb 09 04:51:53 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are not trying to print out floating point values, then you can reduce the amount of space used by printf by defining the symbol [FONT=Courier New][SIZE=1]CR_INTEGER_PRINTF[/SIZE][/FONT] - see the section on "Reducing codesize of printf" in the FAQ at &lt;/SPAN&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UsingPrintf&lt;/A&gt;&lt;SPAN&gt; for more details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also more information on code and data sizes at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/FlashRamSize&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535161#M4486</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory full?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535162#M4487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wortel on Wed Feb 09 07:03:16 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh my!! I was sooo sure that I was having a 128k chip! But it is actually a 32k (LPC1751).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Owh, my bad... shame on me :$... thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Memory-full/m-p/535162#M4487</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:59:18Z</dc:date>
    </item>
  </channel>
</rss>

