<?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 Any way to determine RAM usage at runtime? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367562#M1709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can the KDS debugger tell me RAM usage?&amp;nbsp; I know that looking at the .map file could be helpful, but I'm allocating some stuff dynamically at runtime, and I would like to know how much I have left after doing so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 00:01:56 GMT</pubDate>
    <dc:creator>mike1974</dc:creator>
    <dc:date>2015-04-01T00:01:56Z</dc:date>
    <item>
      <title>Any way to determine RAM usage at runtime?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367562#M1709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can the KDS debugger tell me RAM usage?&amp;nbsp; I know that looking at the .map file could be helpful, but I'm allocating some stuff dynamically at runtime, and I would like to know how much I have left after doing so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 00:01:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367562#M1709</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-04-01T00:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to determine RAM usage at runtime?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367563#M1710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That depends on how you are allocating dynamically your objects. You would need a function from that heap management to tell you the amount of free heap. If you are usinig FreeRTOS, it will report it to you with heap size with xPortFreeHeapSize().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 06:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367563#M1710</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-04-01T06:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to determine RAM usage at runtime?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367564#M1711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Erich.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, I don't see a memory usage summary in the .map file.&amp;nbsp; It seems I will have to extract it manually by searching/looking at each sections usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know of a better way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 17:24:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367564#M1711</guid>
      <dc:creator>mike1974</dc:creator>
      <dc:date>2015-04-01T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Any way to determine RAM usage at runtime?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367565#M1712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I report the code/data size with the 'size' utility at the end of the link phase, see&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-eclipse/" title="http://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-eclipse/"&gt;http://mcuoneclipse.com/2014/07/13/listing-code-and-data-size-for-each-source-file-with-gnu-and-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/" title="http://mcuoneclipse.com/2014/05/04/printing-code-size-information-in-eclipse/"&gt;Printing Code Size Information in Eclipse | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/09/24/code-size-information-with-gcc-for-armkinetis/" title="http://mcuoneclipse.com/2012/09/24/code-size-information-with-gcc-for-armkinetis/"&gt;Code Size Information with gcc for ARM/Kinetis | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/" title="http://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/"&gt;http://mcuoneclipse.com/2013/04/14/text-data-and-bss-code-and-data-size-explained/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 07:36:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Any-way-to-determine-RAM-usage-at-runtime/m-p/367565#M1712</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-04-02T07:36:53Z</dc:date>
    </item>
  </channel>
</rss>

