<?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: Debugging on FRDM-K64F on KDS 1.1.1</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388822#M2302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul DeRocco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debugging with the preinstalled bootloader does not seem to work.&lt;/P&gt;&lt;P&gt;But here are some links that explain how you can replace it by the PEMicro or Segger J-Link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100733"&gt;https://community.freescale.com/docs/DOC-100733&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100705"&gt;https://community.freescale.com/docs/DOC-100705&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/"&gt;http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.segger.com/opensda.html"&gt;http://www.segger.com/opensda.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tobi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 23:48:06 GMT</pubDate>
    <dc:creator>iliketux</dc:creator>
    <dc:date>2014-08-28T23:48:06Z</dc:date>
    <item>
      <title>Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388821#M2301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I've read everything I could find here, and a bunch elsewhere on the web, about how to debug FRDM-K64F code over its USB interface, to no avail. Somewhere I read that you're supposed to use the "GDB OpenOCD Debugging" choice in the Debug Configuration dialog. Initially, I got a popup saying "Error in services launch sequence. OpenOCD requires some -c or -f configuration options to start." Somewhere else I found an explanation that I needed to add "-f&amp;nbsp; kinetis.cfg" to the Debugger config options. Now it doesn't pop anything up, but it fails to load anyway. Instead, the OpenOCD console shows the following messages:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Open On-Chip Debugger 0.8.0-dev-dirty (2014-08-20-11:07)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Licensed under GNU GPL v2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;For bug reports, read&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://openocd.sourceforge.net/doc/doxygen/bugs.html"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Error: unable to open CMSIS-DAP device&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Error: unable to init CMSIS-DAP driver&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Error: Error selecting 'cmsis-dap' as transport&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;Runtime Error: C:/Freescale/KDS_1.1.1/openocd/bin/..//scripts/kinetis.cfg:3:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;in procedure 'script'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;at file "embedded:startup.tcl", line 58&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;in procedure 'interface' called at file "C:/Freescale/KDS_1.1.1/openocd/bin/..//scripts/kinetis.cfg", line 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm stumped. The FRDM users guide says nothing about how to debug. Is there some app note somewhere that I've missed? What do I do next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 22:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388821#M2301</guid>
      <dc:creator>paulderocco</dc:creator>
      <dc:date>2014-08-28T22:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388822#M2302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul DeRocco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;debugging with the preinstalled bootloader does not seem to work.&lt;/P&gt;&lt;P&gt;But here are some links that explain how you can replace it by the PEMicro or Segger J-Link:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100733"&gt;https://community.freescale.com/docs/DOC-100733&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-100705"&gt;https://community.freescale.com/docs/DOC-100705&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/"&gt;http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.segger.com/opensda.html"&gt;http://www.segger.com/opensda.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tobi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 23:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388822#M2302</guid>
      <dc:creator>iliketux</dc:creator>
      <dc:date>2014-08-28T23:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388823#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just checking. Did you manage to connect to your FRDM-K64F?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tobias has good suggestions there. Personally I had good results with the Segger J-Link firmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 02:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388823#M2303</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-09-03T02:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388824#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Multilink Universal FX, which works fine. At the time I asked, it was elsewhere, but now that I have it, I don't need to get the OpenOCD port working. I used that on a K70 board, and it was pretty slow anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 07:31:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388824#M2304</guid>
      <dc:creator>paulderocco</dc:creator>
      <dc:date>2014-09-03T07:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388825#M2305</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 have the same problem, may be you guys can help. I have followed the user guide (KDSUG.pdf) and configure the debugger as shown in the image: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DebugConfig.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47301iE0D1AE3CB5257B3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="DebugConfig.png" alt="DebugConfig.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When debug, I got the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47302i18399E5F19575FFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error.png" alt="Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I am using Ubuntu 14.04 and I am using the preinstalled bootloader. The Debug port is /dev/ttyACM0. I have been searching on the web but could not find any solution to solve this problem. Will look forward for your help in this regard.&lt;/P&gt;&lt;P&gt;Bilal &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 05:33:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388825#M2305</guid>
      <dc:creator>bilalarain</dc:creator>
      <dc:date>2014-11-16T05:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388826#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilal,&lt;/P&gt;&lt;P&gt;do you have the latest firmware loaded on the board? See &lt;A href="http://developer.mbed.org/handbook/Firmware-FRDM-K64F" title="http://developer.mbed.org/handbook/Firmware-FRDM-K64F"&gt;http://developer.mbed.org/handbook/Firmware-FRDM-K64F&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in any case I don't recommend to use the mbed firmware: the Segger and P&amp;amp;E one are much more stable and easier to use.&lt;/P&gt;&lt;P&gt;And 20 times faster!&lt;/P&gt;&lt;P&gt;See &lt;A href="http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/" title="http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/"&gt;http://mcuoneclipse.com/2014/04/27/segger-j-link-firmware-for-opensdav2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 06:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388826#M2306</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-11-16T06:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388827#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works out nicely. Many thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bilal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 06:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388827#M2307</guid>
      <dc:creator>bilalarain</dc:creator>
      <dc:date>2014-11-16T06:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388828#M2308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appeared the same problem for me: error info comes to console as reported&amp;nbsp; in the top of this discussion.&lt;/P&gt;&lt;P&gt;Also the reset red led stays on all the time.&lt;/P&gt;&lt;P&gt;I have updated the firmware as instructed, trying both alternatives PEMicro and Segger J-Link, but didn't change the situation.&lt;/P&gt;&lt;P&gt;Could you please advice if the reset led always on would point to different problem/solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 07:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388828#M2308</guid>
      <dc:creator>adriangogu</dc:creator>
      <dc:date>2015-10-05T07:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388829#M2309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just opened up my K64FRDM board and watched the first video and then selected the default debugger and also got the same errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open On-Chip Debugger 0.8.0-dev (2015-01-09-16:22)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Licensed under GNU GPL v2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For bug reports, read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://openocd.sourceforge.net/doc/doxygen/bugs.html" rel="nofollow"&gt;http://openocd.sourceforge.net/doc/doxygen/bugs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Info : only one transport option; autoselect 'cmsis-dap'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: unable to open CMSIS-DAP device&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: unable to init CMSIS-DAP driver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Error selecting 'cmsis-dap' as transport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Error: C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg:3: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in procedure 'script' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at file "embedded:startup.tcl", line 58&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in procedure 'interface' called at file "C:/Freescale/KDS_3.0.0/openocd/bin/..//scripts/kinetis.cfg", line 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty disappointing that it does this straight out of the box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I reflashed the board to use the Segger debugger and it worked no problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it would be nice to know why the original debugger fails like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 12:21:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388829#M2309</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-01-15T12:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging on FRDM-K64F on KDS 1.1.1</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388830#M2310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what if I'm using the board for mbed applications? Would I still be able to easily flash .bin files to the board if I use a different firmware package? I assume drag-n-drop won't be available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 19:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-on-FRDM-K64F-on-KDS-1-1-1/m-p/388830#M2310</guid>
      <dc:creator>acampbell</dc:creator>
      <dc:date>2016-02-09T19:02:40Z</dc:date>
    </item>
  </channel>
</rss>

