<?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: K-64 Unable to Connect to GDBserver for Debug in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768926#M9722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich and Marcelo,&lt;/P&gt;&lt;P&gt;I got this issue&amp;nbsp; resolved after i uninstalled and&amp;nbsp; installed the latest Kinetis Design Studio from NXP to get it to work reliably. Keep my fingers crossed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2018 22:41:58 GMT</pubDate>
    <dc:creator>Designer11</dc:creator>
    <dc:date>2018-01-10T22:41:58Z</dc:date>
    <item>
      <title>K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768919#M9715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having issue with KDS&amp;nbsp;connecting to the gdbserver for debugging in KDS IDE after my computer is reset. Initially, I was able to have connection between KDS and gdbserver and debug the code without any issue.&amp;nbsp; However, after i reset my computer,&amp;nbsp; KDS keep hanging&amp;nbsp; at 60 percent whenever i try to enter debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To verify whether there is still connection between my computer and the target i used SEGGER J-Link GDB server GUI&amp;nbsp; and commander and&amp;nbsp; noticed that the debugger probe is indeed connected to the K-64 MCU but not to the GDBServer, waiting for connection to GDB is the message i received.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also attached a few images of the project setting in KDS&amp;nbsp; for Segger debug probe that used to work and now failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What i did but didn't help solve the issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Reset and turn off the computer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Removed all breakpoints&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Power cycled the target/host and debug probe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Switched to using PEMicro Multilink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Switched to using another laptop&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Created new workspace, and test project&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;- Should I talk to IT to open certain ports or allow certain IP range ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for the help.&lt;/P&gt;&lt;P&gt;Vu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 04:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768919#M9715</guid>
      <dc:creator>Designer11</dc:creator>
      <dc:date>2017-11-11T04:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768920#M9716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see that you are already using V6.20h of the Segger software. I'm using V6.20g and have not seen something like this, so it could be that this is because of that new version? If this problem did not occur with an earlier version, I would downgrade the Segger version to say V6.20g to single out that possible reason.&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>Sat, 11 Nov 2017 04:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768920#M9716</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-11-11T04:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768921#M9717</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;Thank you for your suggestion, I will install an older version of Segger software. Do I need to modify my computer firewall or antivirus software to allow certain ports or IP to go through? Or is there an issue with my hardware?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 18:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768921#M9717</guid>
      <dc:creator>Designer11</dc:creator>
      <dc:date>2017-11-11T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768922#M9718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vu,&lt;/P&gt;&lt;P&gt;Firewalls and virus scanners are always a concern, but I don't thin this is the case.&lt;/P&gt;&lt;P&gt;I see that you have specified a USB port in the segger configuration which is not really necessary (it will ask you if you have multiple probes connected). What is strange that it does not work for you with the P&amp;amp;E connection too. So this means either you have a fundamental problem with your host PC.&lt;/P&gt;&lt;P&gt;After re-reading things, I'm puzzled what you mean by 'reset my computer'?&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>Sat, 11 Nov 2017 18:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768922#M9718</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-11-11T18:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768923#M9719</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;Thank you very much for your replies. I just finished downloaded and installed Segger software version 6.20g on my computer. However, the&amp;nbsp; SEGGER GDB Software GUI still refuses to establish connection with the GDB server. On the other hand,&amp;nbsp; this morning KDS decided to connect to the GDB server and i'm able to debug my code at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned about potential fundamental problems with my host computer. What kind of issues should i look into ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Vu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 18:36:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768923#M9719</guid>
      <dc:creator>Designer11</dc:creator>
      <dc:date>2017-11-13T18:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768924#M9720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCUXpresso is VERY unstable. I am able to debug my app until I get a random "unrecoverable" unable to connect situation. The only way it resumes working is if I use Segger JTAG via IAR IDE. Then I can close IAR and restart MCUXpresso IDE and it may work for a while until stop working once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logs from Windows 10 machine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SEGGER J-Link GDB Server V6.20g Command Line Version&lt;BR /&gt;&amp;nbsp; JLinkARM.dll V6.20g (DLL compiled Oct 20 2017 17:09:27)&lt;BR /&gt;&amp;nbsp; Command line: -nosilent -swoport 2337 -select USB=203200565 -telnetport 2338 -singlerun -endian little -noir -speed auto -port 2339 -vd -device MK66FN2M0xxx18 -if SWD -halt -reportuseraction&lt;BR /&gt;&amp;nbsp; -----GDB Server start settings-----&lt;BR /&gt;&amp;nbsp; GDBInit file:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; none&lt;BR /&gt;&amp;nbsp; GDB Server Listening port:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2339&lt;BR /&gt;&amp;nbsp; SWO raw output listening port: 2337&lt;BR /&gt;&amp;nbsp; Terminal I/O port:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2338&lt;BR /&gt;&amp;nbsp; Accept remote connection:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost only&lt;BR /&gt;&amp;nbsp; Generate logfile:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&lt;BR /&gt;&amp;nbsp; Verify download:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on&lt;BR /&gt;&amp;nbsp; Init regs on start:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&lt;BR /&gt;&amp;nbsp; Silent mode:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&lt;BR /&gt;&amp;nbsp; Single run mode:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; on&lt;BR /&gt;&amp;nbsp; Target connection timeout:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ms&lt;BR /&gt;&amp;nbsp; ------J-Link related settings------&lt;BR /&gt;&amp;nbsp; J-Link Host interface:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USB&lt;BR /&gt;&amp;nbsp; J-Link script:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; none&lt;BR /&gt;&amp;nbsp; J-Link settings file:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; none&lt;BR /&gt;&amp;nbsp; ------Target related settings------&lt;BR /&gt;&amp;nbsp; Target device:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MK66FN2M0xxx18&lt;BR /&gt;&amp;nbsp; Target interface:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SWD&lt;BR /&gt;&amp;nbsp; Target interface speed:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; auto&lt;BR /&gt;&amp;nbsp; Target endian:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; little&lt;BR /&gt;&amp;nbsp; Connecting to J-Link...&lt;BR /&gt;&amp;nbsp; J-Link is connected.&lt;BR /&gt;&amp;nbsp; Device "MK66FN2M0XXX18" selected.&lt;BR /&gt;&amp;nbsp; Firmware: J-Trace Cortex-M Rev.3 compiled May 22 2017 18:32:06&lt;BR /&gt;&amp;nbsp; Hardware: V3.10&lt;BR /&gt;&amp;nbsp; S/N: 203200565&lt;BR /&gt;&amp;nbsp; Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt;&amp;nbsp; Checking target voltage...&lt;BR /&gt;&amp;nbsp; Target voltage: 3.31 V&lt;BR /&gt;&amp;nbsp; Listening on TCP/IP port 2339&lt;BR /&gt;&amp;nbsp; Connecting to target...InitTarget()&lt;BR /&gt;&amp;nbsp; Found SW-DP with ID 0x2BA01477&lt;BR /&gt;&amp;nbsp; Scanning AP map to find all available APs&lt;BR /&gt;&amp;nbsp; AP[2]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;&amp;nbsp; AP[0]: AHB-AP (IDR: 0x24770011)&lt;BR /&gt;&amp;nbsp; AP[1]: JTAG-AP (IDR: 0x001C0000)&lt;BR /&gt;&amp;nbsp; Iterating through AP map to find AHB-AP to use&lt;BR /&gt;&amp;nbsp; AP[0]: Skipped. Invalid implementer code read from CPUIDVal[31:24] = 0x00&lt;BR /&gt;&amp;nbsp; AP[1]: Skipped. Not an AHB-AP&lt;BR /&gt;&amp;nbsp; InitTarget()&lt;BR /&gt;&amp;nbsp; Connect Under Reset&lt;BR /&gt;&amp;nbsp; Communication error while accessing MDM-AP.&lt;BR /&gt;&amp;nbsp; Connect Under Reset&lt;BR /&gt;&amp;nbsp; ERROR: Could not find core in Coresight setup&lt;BR /&gt;&amp;nbsp; Communication timed out: Requested 20 bytes, received 0 bytes !&lt;BR /&gt;&amp;nbsp; Could not transfer JTAG data.&lt;BR /&gt;&amp;nbsp; InitTarget(): PCode returned with error code -1&lt;BR /&gt;&amp;nbsp; ERROR: Could not connect to target.&lt;BR /&gt;&amp;nbsp; Target conneWARctiNINGon : Targefailed. t conneGDBServectr will beion los closet.&lt;BR /&gt;&amp;nbsp; d...Restoring target state and closing J-Link connection...&lt;BR /&gt;&amp;nbsp; Shutting down...&lt;BR /&gt;&amp;nbsp; Could not connect to target.&lt;BR /&gt;&amp;nbsp; Please check power, connection and settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried on Mac OSX and it also does not work probably for other reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 21:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768924#M9720</guid>
      <dc:creator>mvaranda</dc:creator>
      <dc:date>2017-12-19T21:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768925#M9721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcelo,&lt;/P&gt;&lt;P&gt;I have seen things like that if using different IDEs with using different Segger J-Link DLLs. I suggest you run&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\SEGGER\JLink_V620g\JLinkDLLUpdater.exe&lt;/P&gt;&lt;P&gt;and make sure all IDEs are using the same version of the Segger runtime libraries.&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, 20 Dec 2017 06:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768925#M9721</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-12-20T06:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: K-64 Unable to Connect to GDBserver for Debug</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768926#M9722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich and Marcelo,&lt;/P&gt;&lt;P&gt;I got this issue&amp;nbsp; resolved after i uninstalled and&amp;nbsp; installed the latest Kinetis Design Studio from NXP to get it to work reliably. Keep my fingers crossed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 22:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/K-64-Unable-to-Connect-to-GDBserver-for-Debug/m-p/768926#M9722</guid>
      <dc:creator>Designer11</dc:creator>
      <dc:date>2018-01-10T22:41:58Z</dc:date>
    </item>
  </channel>
</rss>

