<?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  FRDM-K66 board with KDS 3.2 DEBUG in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675613#M41542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to debug the FRDM-K66 board with KDS 3.2 but cannot enter the debug session.&lt;/P&gt;&lt;P&gt;I have successfully loaded the openSDA binary (FRDM-K66 from segger website) through the bootloader. After this the board appears as a drive on windows 7 as "FRDM-K66FJ". At this point, D1 will turn on RED always. The KDS fails to connect&amp;nbsp;and print the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connecting to J-Link...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;J-Link is connected.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Firmware: J-Link OpenSDA 2 compiled Feb 28 2017 19:27:57&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware: V1.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 621000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Checking target voltage...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Target voltage: 3.30 V&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Listening on TCP/IP port 2331&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Connecting to target...ERROR: Failed to halt CPU&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR: Could not connect to target.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Shutting down...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Could not connect to target.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Please check power, connection and settings.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the commander I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20021i2B757A8454FE6CB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only if I use the J-Flash tool to connect it connects, red led off and then if I try commander I also would be able to connect but if I run KDS debug it runs without stopping at main()&amp;nbsp;and I can only terminate (no pause)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 16:33:55 GMT</pubDate>
    <dc:creator>baro</dc:creator>
    <dc:date>2017-06-06T16:33:55Z</dc:date>
    <item>
      <title>FRDM-K66 board with KDS 3.2 DEBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675613#M41542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to debug the FRDM-K66 board with KDS 3.2 but cannot enter the debug session.&lt;/P&gt;&lt;P&gt;I have successfully loaded the openSDA binary (FRDM-K66 from segger website) through the bootloader. After this the board appears as a drive on windows 7 as "FRDM-K66FJ". At this point, D1 will turn on RED always. The KDS fails to connect&amp;nbsp;and print the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Connecting to J-Link...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;J-Link is connected.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Firmware: J-Link OpenSDA 2 compiled Feb 28 2017 19:27:57&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Hardware: V1.00&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S/N: 621000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Checking target voltage...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Target voltage: 3.30 V&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Listening on TCP/IP port 2331&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Connecting to target...ERROR: Failed to halt CPU&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR: Could not connect to target.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Shutting down...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Could not connect to target.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Please check power, connection and settings.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try the commander I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20021i2B757A8454FE6CB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only if I use the J-Flash tool to connect it connects, red led off and then if I try commander I also would be able to connect but if I run KDS debug it runs without stopping at main()&amp;nbsp;and I can only terminate (no pause)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675613#M41542</guid>
      <dc:creator>baro</dc:creator>
      <dc:date>2017-06-06T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re:  FRDM-K66 board with KDS 3.2 DEBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675614#M41543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi baro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to set a erase command in the Jlink Commander? The problem is that your CPU cannot be halted, you could try the "h" (halt) command in your commander, and also try the reset command "r" to see if the red led goes away.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you trying an example project? Could you share what are your debug configurations settings in your KDS IDE? Do you have "Initial Reset and Halt" in the Startup options? Also verify that you have not selected "Connect to running target".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 18:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675614#M41543</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-06-12T18:42:13Z</dc:date>
    </item>
    <item>
      <title>Re:  FRDM-K66 board with KDS 3.2 DEBUG</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675615#M41544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to recover by using the JLINK debugger (before I was using openSDA) and performing a full erase. I have also regressed the segger package to version 6.14 (was previously using v6.16). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 18:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-K66-board-with-KDS-3-2-DEBUG/m-p/675615#M41544</guid>
      <dc:creator>baro</dc:creator>
      <dc:date>2017-06-12T18:50:45Z</dc:date>
    </item>
  </channel>
</rss>

