<?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 K64F Freedom Development Board Won't Debug Examples in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889735#M52585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone. I'm trying to get started with the NXP K64F Freedom board and I just started going through the examples on the "Getting Started" page listed&amp;nbsp;&lt;A href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F?tab=In-Depth_Tab"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The examples compile, but the debug feature works only very rarely. It will work at first, then when I try to debug again I get one of a few errors including:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 17^error,msg="Remote communication error. Target Disconnected: Success."&lt;/P&gt;&lt;P&gt;2. Error in final launch sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as shown in the attached images.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17_Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71637iF7F147C3A48DB2A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="17_Error.png" alt="17_Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error In final launch sequence.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71707iD769292FB39C6A4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error In final launch sequence.png" alt="Error In final launch sequence.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Failed to Connect.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71752i4162217151AD5434/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failed to Connect.png" alt="Failed to Connect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had some luck closing MCUXpress and disconnecting the development board, then reopening MCUXpress and reconnecting the dev board, but that only works occasionally.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if anything comes to mind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other information: I ordered this board last spring and I some other threads have mentioned updating firmware, so I'm going to look into that and I'll describe how I solved my problem, if I figure it out.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 00:27:12 GMT</pubDate>
    <dc:creator>stephen_j_lower</dc:creator>
    <dc:date>2019-02-08T00:27:12Z</dc:date>
    <item>
      <title>K64F Freedom Development Board Won't Debug Examples</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889735#M52585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone. I'm trying to get started with the NXP K64F Freedom board and I just started going through the examples on the "Getting Started" page listed&amp;nbsp;&lt;A href="https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F?tab=In-Depth_Tab"&gt;here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The examples compile, but the debug feature works only very rarely. It will work at first, then when I try to debug again I get one of a few errors including:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 17^error,msg="Remote communication error. Target Disconnected: Success."&lt;/P&gt;&lt;P&gt;2. Error in final launch sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as shown in the attached images.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17_Error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71637iF7F147C3A48DB2A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="17_Error.png" alt="17_Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Error In final launch sequence.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71707iD769292FB39C6A4F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error In final launch sequence.png" alt="Error In final launch sequence.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Failed to Connect.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71752i4162217151AD5434/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failed to Connect.png" alt="Failed to Connect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had some luck closing MCUXpress and disconnecting the development board, then reopening MCUXpress and reconnecting the dev board, but that only works occasionally.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if anything comes to mind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other information: I ordered this board last spring and I some other threads have mentioned updating firmware, so I'm going to look into that and I'll describe how I solved my problem, if I figure it out.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 00:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889735#M52585</guid>
      <dc:creator>stephen_j_lower</dc:creator>
      <dc:date>2019-02-08T00:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: K64F Freedom Development Board Won't Debug Examples</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889736#M52586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephen,&lt;/P&gt;&lt;P&gt;I had something similar a while back with a bad USB cable. So it might be worthwile to exchange it.&lt;/P&gt;&lt;P&gt;The other thing you already mentioned: I recommend to use a different debug firmware which is much faster than the CMSIS-DAP one. You can choose from P&amp;amp;E or use the SEGGER J-Link one (&lt;A class="link-titled" href="https://mcuoneclipse.com/2016/06/19/segger-opensda-firmware-with-virtual-msd/" title="https://mcuoneclipse.com/2016/06/19/segger-opensda-firmware-with-virtual-msd/"&gt;Segger J-Link OpenSDA Firmware with Virtual MSD | MCU on Eclipse&lt;/A&gt; ). Or use an external probe if you have one at hand (&lt;A class="link-titled" href="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/" title="https://mcuoneclipse.com/2015/05/11/debugging-the-frdm-k64f-with-pe-multilink/"&gt;Debugging the FRDM-K64F with P&amp;amp;E Multilink | MCU on Eclipse&lt;/A&gt; ), as this is anyway something to have. If costs is a concern: there is the $20 LPC-Link2 (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2017/05/06/using-the-lpcxpresso-v2v3-boards-to-debug-an-external-board/lpc-link2-debug-probe/" title="https://mcuoneclipse.com/2017/05/06/using-the-lpcxpresso-v2v3-boards-to-debug-an-external-board/lpc-link2-debug-probe/"&gt;LPC-Link2 Debug Probe | MCU on Eclipse&lt;/A&gt;&amp;nbsp;) or you can use (as a&amp;nbsp; the $6 LPC8345-BRK board (not intended for that purpose, but works very well: &lt;A class="link-titled" href="https://mcuoneclipse.com/2019/02/02/tutorial-transforming-the-nxp-lpc845-brk-into-a-cmsis-dap-debug-probe/" title="https://mcuoneclipse.com/2019/02/02/tutorial-transforming-the-nxp-lpc845-brk-into-a-cmsis-dap-debug-probe/"&gt;Tutorial: Transforming the NXP LPC845-BRK into a CMSIS-DAP Debug Probe | 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>Fri, 08 Feb 2019 06:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889736#M52586</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2019-02-08T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: K64F Freedom Development Board Won't Debug Examples</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889737#M52587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, after performing the above actions twice the issue persisted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After leaving the FRDM board unplugged for half and hour and rebooting my PC then repeating it finally worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been very frustrating, hopefully won't reoccur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Billy..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 10:16:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-Freedom-Development-Board-Won-t-Debug-Examples/m-p/889737#M52587</guid>
      <dc:creator>williamfish</dc:creator>
      <dc:date>2019-02-08T10:16:22Z</dc:date>
    </item>
  </channel>
</rss>

