<?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: TWR-K60n512 Memory and CPU usage in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280841#M10345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you stop the core, the debugging runs in real time. As far as i understand it, it does not slow down the processor. So you can run your release version and watch the mcu without causing problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jun 2013 11:08:39 GMT</pubDate>
    <dc:creator>paulmartin</dc:creator>
    <dc:date>2013-06-21T11:08:39Z</dc:date>
    <item>
      <title>TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280835#M10339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I'm using the TWR - K60N512 evaluation tower as a replacement for unfinished k10 target&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;How can I calculate\read CPU and RAM usage on K10\K60 board runtime?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Andreas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280835#M10339</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-06-07T11:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280836#M10340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I assume that you are using gcc?&lt;/P&gt;&lt;P&gt;then this is about the RAM/ROM usage:&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 &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;text, data and bss: Code and Data Size Explained&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to find out how much the CPU is used, that might depend on what you are running on the target.&lt;/P&gt;&lt;P&gt;If you are using an RTOS like FreeRTOS, then you have built-in profiling and performance information you can get:&lt;/P&gt;&lt;P&gt;-&lt;A href="http://mcuoneclipse.com/2012/03/23/tracing-with-freertostrace-from-percepio/" title="http://mcuoneclipse.com/2012/03/23/tracing-with-freertostrace-from-percepio/"&gt; Tracing with FreeRTOS+Trace from Percepi &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Precepio provides a free version of this tool. FreeRTOS has built in performance analysis (but only per task).&lt;/P&gt;&lt;P&gt;Otherwise you need to collect trace or performance data, e.g. with a TraceLink (&lt;A href="http://mcuoneclipse.com/2013/04/07/first-steps-with-the-pe-tracelink/" title="http://mcuoneclipse.com/2013/04/07/first-steps-with-the-pe-tracelink/"&gt;First Steps with the P&amp;amp;amp;amp;E Tracelink)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280836#M10340</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-06-07T11:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280837#M10341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andreas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was that information of any help? Don't forget to keep us posted :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Monica.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 03:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280837#M10341</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-06-19T03:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280838#M10342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply and sorry for the hold up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using keil with:&lt;/P&gt;&lt;P&gt;ARM C/C++ Compiler, 5.03 [Build 24] [MDK-ARM Standard]&lt;/P&gt;&lt;P&gt;Software supplied by: ARM Limited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not using any RTOS and I'm not going to. I'm using the Ulink pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 10:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280838#M10342</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-06-21T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280839#M10343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take a look at this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/download/files/kinetis_lab.pdf" title="http://www.keil.com/download/files/kinetis_lab.pdf"&gt;http://www.keil.com/download/files/kinetis_lab.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the performance analyzer can help you with cpu load.&lt;/P&gt;&lt;P&gt;and you can watch the memory in debug mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 10:35:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280839#M10343</guid>
      <dc:creator>paulmartin</dc:creator>
      <dc:date>2013-06-21T10:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280840#M10344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to sample the CPU and memory usage in release?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 10:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280840#M10344</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2013-06-21T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60n512 Memory and CPU usage</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280841#M10345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unless you stop the core, the debugging runs in real time. As far as i understand it, it does not slow down the processor. So you can run your release version and watch the mcu without causing problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 11:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60n512-Memory-and-CPU-usage/m-p/280841#M10345</guid>
      <dc:creator>paulmartin</dc:creator>
      <dc:date>2013-06-21T11:08:39Z</dc:date>
    </item>
  </channel>
</rss>

