<?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>LPCXpresso IDEのトピックRe: RAM bytes consumption</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555054#M13508</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 Thu Jun 24 01:18:51 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that this is data related to the C library ctype / locale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to using&amp;nbsp;&amp;nbsp;&amp;nbsp; arm-none-eabi-nm as suggested by domen, you might want to look at the [I]projectname.map[/I] file that is created automatically in the Debug (or Release) directory when you build your project. This gives lots of useful information about what has actually gone into your image.&lt;/SPAN&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>Wed, 15 Jun 2016 22:12:10 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:12:10Z</dc:date>
    <item>
      <title>RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555052#M13506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Wed Jun 23 22:02:29 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC1343 lpcxpresso board. I recently updated to v3.3.4 of LPCXpresso IDE. After that all release builds or debug builds shows data value as 520 in the "data" field of the console view. I came to know through this forum that this "data" represents&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RAM bytes consumed. I know my projects consume only few bytes of RAM. Even if i increase/decrease the variables the data field shows a constant value of 520. I build several of my other projects, surprisingly all shows the same 520. But the example projects like "blinky" has no such issue with it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what causes this in my projects. Why the data field always shows number 520? How to make v3.3.4 to show the actual RAM bytes consumed? Can someone clear it?:confused:&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338141"&gt;1100481_properSimple64byteHid.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555052#M13506</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555053#M13507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by domen on Wed Jun 23 23:34:03 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-nm -S --size-sort blah.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should contain a hint at least. Often it's just some data that you could mark "const", and it'd then get moved to .rodata (flash). Or maybe it's some libc stuff.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555053#M13507</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555054#M13508</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 Thu Jun 24 01:18:51 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that this is data related to the C library ctype / locale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to using&amp;nbsp;&amp;nbsp;&amp;nbsp; arm-none-eabi-nm as suggested by domen, you might want to look at the [I]projectname.map[/I] file that is created automatically in the Debug (or Release) directory when you build your project. This gives lots of useful information about what has actually gone into your image.&lt;/SPAN&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>Wed, 15 Jun 2016 22:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555054#M13508</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555055#M13509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Thu Jun 24 22:48:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I gone through projectname.map file. It clearly shows a variable of __ctype from ctype.o is adding an additional 512 (0x204) to the data image. I am new to the gcc tools and ARM. I don't know where and how to use "arm-none-eabi-nm -S --size-sort blah.axf" as suggested by domen. Should i add this to the linker script ? Please be clear on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555055#M13509</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555056#M13510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vasanth on Mon Jun 28 22:00:58 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;At last i figured it out myself. It is because of cr_startup_lpc13.c file. While creating new project using MCU project wizards, lpcxpresso creates a default startup file. But i replaced the startup file with the one from blinky project. Now it's O.K. :)!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555056#M13510</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555057#M13511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by domen on Mon Jun 28 23:30:00 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: vasanth&lt;/STRONG&gt;&lt;BR /&gt;I don't know where and how to use "arm-none-eabi-nm -S --size-sort blah.axf" as suggested by domen. Should i add this to the linker script ? Please be clear on this.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use it in a terminal.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555057#M13511</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: RAM bytes consumption</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555058#M13512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jush on Fri Jul 09 01:29:46 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: vasanth&lt;/STRONG&gt;&lt;BR /&gt;At last i figured it out myself. It is because of cr_startup_lpc13.c file. While creating new project using MCU project wizards, lpcxpresso creates a default startup file. But i replaced the startup file with the one from blinky project. !&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What did you do? Could you share on us? Coz I have the same problem of yours abot the RAM consumption.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:12:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/RAM-bytes-consumption/m-p/555058#M13512</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:12:13Z</dc:date>
    </item>
  </channel>
</rss>

