<?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>Kinetis Design StudioのトピックRe: Need to be able to see cycle counts in KDS</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642127#M8318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nigel,&lt;/P&gt;&lt;P&gt;there is the QEMU simulator which supports the ARM Cortex, see &lt;A class="link-titled" href="http://gnuarmeclipse.github.io/qemu/" title="http://gnuarmeclipse.github.io/qemu/"&gt;The GNU ARM Eclipse QEMU&lt;/A&gt;. I have not really used it (yet), that was definitely I was looking for using in my own course.&lt;/P&gt;&lt;P&gt;As an additional pointer: the M3/M4 core has a hardware cycle count register you could use (see &lt;A class="link-titled" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BABJFFGJ.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BABJFFGJ.html"&gt;ARM Information Center&lt;/A&gt;&amp;nbsp; as reference). It is used eg. it in the Segger SystemView (see ) as time base to measure the time between API calls and events (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/" title="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/"&gt;Segger SystemView: Realtime Analysis and Visualization for FreeRTOS | MCU on Eclipse&lt;/A&gt;&amp;nbsp;). If you are using it in software, make sure you have turned on the debug block on the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2017 13:52:17 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2017-01-25T13:52:17Z</dc:date>
    <item>
      <title>Need to be able to see cycle counts in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642126#M8317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am teaching a third-year college computer engineering course in micro controllers. &amp;nbsp;I have just migrated from the 9S12 using Codewarrior to KDS 3.2.0 using the FRDM-K64F and SDK 2.1.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Part of the course discusses cycle times for each assembly instruction, and with codewarrior I could demonstrate this in action by using the simulator.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot find any similar tool in KDS. &amp;nbsp;Can anybody point me to a way to do this?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Nigel Johnson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642126#M8317</guid>
      <dc:creator>ve3id</dc:creator>
      <dc:date>2017-01-24T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need to be able to see cycle counts in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642127#M8318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nigel,&lt;/P&gt;&lt;P&gt;there is the QEMU simulator which supports the ARM Cortex, see &lt;A class="link-titled" href="http://gnuarmeclipse.github.io/qemu/" title="http://gnuarmeclipse.github.io/qemu/"&gt;The GNU ARM Eclipse QEMU&lt;/A&gt;. I have not really used it (yet), that was definitely I was looking for using in my own course.&lt;/P&gt;&lt;P&gt;As an additional pointer: the M3/M4 core has a hardware cycle count register you could use (see &lt;A class="link-titled" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BABJFFGJ.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BABJFFGJ.html"&gt;ARM Information Center&lt;/A&gt;&amp;nbsp; as reference). It is used eg. it in the Segger SystemView (see ) as time base to measure the time between API calls and events (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/" title="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/"&gt;Segger SystemView: Realtime Analysis and Visualization for FreeRTOS | MCU on Eclipse&lt;/A&gt;&amp;nbsp;). If you are using it in software, make sure you have turned on the debug block on the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 13:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642127#M8318</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-25T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to be able to see cycle counts in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642128#M8319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric, I have Embedded Systems register View installed, I am not sure if I followed your instructions or if it is now standard (I am getting punch drunk after working on this for so long :-) &amp;nbsp;but I cannot see the DWT_CYCCNT register. &amp;nbsp;I have expanded all the groups in EmbSys Reg view and nothing. &amp;nbsp;Any ideas? &amp;nbsp;I am getting desparate since i have to have a lab converted to the K64F by Tuesday and I had no idea it was going to be so difficult to find cycle counts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also downloaded the simulator but it only works for ST micro implementations!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheer,&lt;/P&gt;&lt;P&gt;Nigel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jan 2017 19:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642128#M8319</guid>
      <dc:creator>ve3id</dc:creator>
      <dc:date>2017-01-29T19:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need to be able to see cycle counts in KDS</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642129#M8320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nigel,&lt;/P&gt;&lt;P&gt;the CMSIS-SVT files delivered with the EmbSysReg do not include most of the ARM core registers, mostly the vendor specific ones.&lt;/P&gt;&lt;P&gt;I have an article posted (link below) how you could do cycle counting and inspect the value in the debugger:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/" title="https://mcuoneclipse.com/2017/01/30/cycle-counting-on-arm-cortex-m-with-dwt/"&gt;Cycle Counting on ARM Cortex-M with DWT | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 08:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Need-to-be-able-to-see-cycle-counts-in-KDS/m-p/642129#M8320</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-01-30T08:30:28Z</dc:date>
    </item>
  </channel>
</rss>

