<?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: FRDM-KL25Z debugging too slow with Keil 5.1 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321129#M14397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem with my KL16Z based project in keil 5.11.1 (uVision)&lt;/P&gt;&lt;P&gt;Each line of assembly took me 5 seconds to step through.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eventually, my coworker realized that the problem was all the watch windows I had open.&lt;/P&gt;&lt;P&gt;Once the watch widows and memory windows were closed, the debugger worked much more quickly, as I was used to on an earlier project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 18:44:37 GMT</pubDate>
    <dc:creator>jameswnorowski</dc:creator>
    <dc:date>2014-09-15T18:44:37Z</dc:date>
    <item>
      <title>FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321121#M14389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;When single-stepping code (in flash) using the CMSIS-DAP Debugger on the FRDM-KL25Z with Keil 5.11 MDK it takes about 5 seconds&lt;BR /&gt;for each assembly-line to execute.&amp;nbsp; Any ideas on what would cause this to be so slow?&amp;nbsp; I am using the standard CMSIS and Device startup files when I create a new MKL25Z4 project.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;I should mention that debugging using the Pemicro OSJtag mode is fast enough, but then I lose some of the CMSIS features.&amp;nbsp; &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Keil Support says that this problem is likely on the FRDM-KL25Z board side and that I should just buy their ARM boards instead, which they claim work well in CMSIS-DAP mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 16:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321121#M14389</guid>
      <dc:creator>alniemi</dc:creator>
      <dc:date>2014-07-16T16:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321122#M14390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried removing all breakpoints?&lt;/P&gt;&lt;P&gt;The KL has limited breakpoints and the debugger may move to a SW breakpoint mode when these are used up, where it can become very slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 17:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321122#M14390</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-07-16T17:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321123#M14391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m not using any breakpoints, just single-stepping thru this simple assembly code line by line and observing the registers.  It takes over 5 secs per step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT main&lt;/P&gt;&lt;P&gt;               AREA Add_Two, CODE, READONLY&lt;/P&gt;&lt;P&gt;               ENTRY&lt;/P&gt;&lt;P&gt;main&lt;/P&gt;&lt;P&gt;               MOVS r0, #5&lt;/P&gt;&lt;P&gt;               MOVS r1, #6&lt;/P&gt;&lt;P&gt;               ADDS r2, r0, r1&lt;/P&gt;&lt;P&gt;Self B Self&lt;/P&gt;&lt;P&gt;               END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I manually copied the code from Flash to RAM, and ran from there, but it still does the slow-step.&lt;/P&gt;&lt;P&gt;Thanks.  -Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 17:55:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321123#M14391</guid>
      <dc:creator>alniemi</dc:creator>
      <dc:date>2014-07-16T17:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321124#M14392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any views open (maybe in the background) that have to be update after each step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe Keil is right that the board/its debugger doesn't correctly support the features that you are using it for (?) however I did give up on the (now legacy) RealView ICE since it never managed more than a few steps without crashing...&lt;/P&gt;&lt;P&gt;Perhaps you can use the PE for most work and just accept teh slowness when you absolutely need the CMSIS features (although I have to admit to not knowing what the advantages are of the features - can you explain)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 18:53:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321124#M14392</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2014-07-16T18:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321125#M14393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No other debugging features enabled, I just enter the debugger, set the PC and single-step – very slowly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CMSIS-DAP Debugger in Keil allows for real-time Watch and Memory windows and other more advanced features, whereas the PEmicro Debugger does not (with Keil).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321125#M14393</guid>
      <dc:creator>alniemi</dc:creator>
      <dc:date>2014-07-16T19:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321126#M14394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do a test using Keil 5.1 step debug KL25 chip with FRDM-KL25Z, while I don't meet your mentioned issue.&lt;/P&gt;&lt;P&gt;The step debug runs as expected. You could check attached video file about detailed info.&lt;/P&gt;&lt;P&gt;I would recommend to download and install [&lt;A href="http://www.keil.com/download/docs/408.asp" style="font-family: 'Helvetica Neue', Helvetica, Verdana, Arial, sans-serif; color: #660066; font-size: 12px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Freescale Kinetis OSJTAG Drivers V1.20&lt;/A&gt;] from below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/download/docs/408.asp" title="http://www.keil.com/download/docs/408.asp"&gt;Freescale Kinetis OSJTAG Drivers V1.20&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.keil.com/" title="http://www.keil.com/"&gt;Keil Embedded Development Tools for ARM, Cortex-M, Cortex-R4, 8051, C166, and 251 processor families.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: I am using Keil provided KL25 example projects, which downloaded from [Pack Installer], below picture shows detailed info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Keil Pack Installer.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45178iE92EF3FA50F5BC7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Keil Pack Installer.png" alt="Keil Pack Installer.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 03:46:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321126#M14394</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-07-22T03:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321127#M14395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;§  It sounds like the testing that you did was using the Pemicro OSJtag debugger which is fast enough, but I’m trying to use the CMSIS-DAP debugger so that I have all the CMSIS features in Keil such as real-time Watch and Memory windows and other more advanced feature.  The PEmicro Debugger (OSJtag) does not support these with Keil.&lt;/P&gt;&lt;P&gt;When single-stepping code (in flash) using the CMSIS-DAP Debugger on the FRDM-KL25Z with Keil 5.11 MDK it takes about 5 seconds&lt;/P&gt;&lt;P&gt;for each assembly-line to execute.  I am using the standard CMSIS and Device startup files when I create a new MKL25Z4 project.&lt;/P&gt;&lt;P&gt; Thanks.&lt;/P&gt;&lt;P&gt; -Al&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 14:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321127#M14395</guid>
      <dc:creator>alniemi</dc:creator>
      <dc:date>2014-07-22T14:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321128#M14396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, in previous test, I am using OpenSDA debugger.&lt;/P&gt;&lt;P&gt;Today I do another test with mbed CMSIS DAP firmware with FRDM-KL25Z board, which works a CMSIS DAP debugger.&lt;/P&gt;&lt;P&gt;And I also could step debug code fast same as OpenSDA with Keil V5.1.&lt;/P&gt;&lt;P&gt;I am using below firmware image:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://mbed.org/media/uploads/sam_grove/20140530_k20dx128_kl25z_if_opensda.s19"&gt;http://mbed.org/media/uploads/sam_grove/20140530_k20dx128_kl25z_if_opensda.s19&lt;/A&gt;&lt;/P&gt;&lt;P&gt;More detailed info about mbed Firmware, please check below link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://mbed.org/handbook/Firmware-FRDM-KL25Z"&gt;http://mbed.org/handbook/Firmware-FRDM-KL25Z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 07:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321128#M14396</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-07-23T07:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL25Z debugging too slow with Keil 5.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321129#M14397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same problem with my KL16Z based project in keil 5.11.1 (uVision)&lt;/P&gt;&lt;P&gt;Each line of assembly took me 5 seconds to step through.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Eventually, my coworker realized that the problem was all the watch windows I had open.&lt;/P&gt;&lt;P&gt;Once the watch widows and memory windows were closed, the debugger worked much more quickly, as I was used to on an earlier project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 18:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL25Z-debugging-too-slow-with-Keil-5-1/m-p/321129#M14397</guid>
      <dc:creator>jameswnorowski</dc:creator>
      <dc:date>2014-09-15T18:44:37Z</dc:date>
    </item>
  </channel>
</rss>

