<?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: Segger J-Link Debugging Problem in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621297#M99</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This also worked for me. Thank you for sharing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To anyone who comes across this in the context of MCUXpresso, you can find this screen by Right-Clicking on project-&amp;gt;Debug As-&amp;gt;Debug Configurations. Then click the Debugger tab and enter "monitor sleep 500" within the "Run Commands" box as Erich has highlighted above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 23:38:32 GMT</pubDate>
    <dc:creator>michaelcress</dc:creator>
    <dc:date>2017-04-19T23:38:32Z</dc:date>
    <item>
      <title>Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621277#M79</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On OSX by using the same FRDM-K22F board and Onboard OpenSDA/J-Link, with KDS 3.2 I can debug w/o problem, but with MCUXpresso 10 I can't. It seems MCUX doesn't provide proper commands to arm-none-eabi-gdb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the suggestion to delete existing debug configuration and recreate one from Quickstart panel as the following discussion, but it didn't help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/447581"&gt;Cannot debug FDRM-K64F via J-link.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attachment jlink_setting.png for the debugger setup.&lt;/P&gt;&lt;P&gt;J-Link GDB server connected successfully to the board, and started listening to localhost port 2331.&lt;/P&gt;&lt;P&gt;But arm-none-eabi-gdb didn't send the following command (existed in KDS):&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;target remote localhost:2331&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and as a result MCUX aborts the debugging, shows a misleading message of "Cannot get Jtag device".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the gdb trace:&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,936 2-gdb-version&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,937 ~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.12.0.20161204-git\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 ~"Copyright (C) 2016 Free Software Foundation, Inc.\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;280,938 ~"License GPLv3+: GNU GPL version 3 or later &amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html" rel="nofollow" target="_blank"&gt;http://gnu.org/licenses/gpl.html&lt;/A&gt;&lt;SPAN&gt;&amp;gt;\nThis is fre\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;ed by law.&amp;nbsp; Type \"show copying\"\nand \"show warranty\" for details.\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 ~"This GDB was configured as \"--host=x86_64-apple-darwin10 --target=arm-none-eabi\".\nType \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;\"show configuration\" for configuration details."&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 ~"\nFor bug reporting instructions, please see:\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;280,938 ~"&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgdb%2Fbugs%2F" rel="nofollow" target="_blank"&gt;http://www.gnu.org/software/gdb/bugs/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;.\n"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;&lt;SPAN&gt;280,938 ~"Find the GDB manual and other documentation resources online at:\n&amp;lt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gnu.org%2Fsoft" rel="nofollow" target="_blank"&gt;http://www.gnu.org/soft&lt;/A&gt;&lt;SPAN&gt;\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;ware/gdb/documentation/&amp;gt;.\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 ~"For help, type \"help\".\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 ~"Type \"apropos word\" to search for commands related to \"word\".\n"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 2^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,938 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,939 3-environment-cd /Users/xxx/tmp/workspaces/mcuxpresso/frdmk22f_hellodemo_apps_hello_worl\&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,940 3^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,940 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,940 4-gdb-set breakpoint pending on&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,941 4^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,941 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,942 5-enable-pretty-printing&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,942 5^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,942 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,943 6-gdb-set python print-stack none&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,943 6^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,943 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,944 7-gdb-set print object on&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,944 7^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,944 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,944 8-gdb-set print sevenbit-strings on&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,945 8^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,945 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,945 9-gdb-set charset ISO-8859-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,946 9^error,msg="Cannot convert between character sets `UTF-32' and `ISO-8859-1'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,946 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,946 10-gdb-set dprintf-style gdb&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,947 10^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,947 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,947 11-gdb-set auto-solib-add on&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,947 11^done&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,947 (gdb)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,950 12-gdb-exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4; font-size: 14px;"&gt;&lt;SPAN&gt;280,951 12^exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do everything from the command line, by providing "target remote localhost:2331", etc to arm-none-eabi-gdb, debugging is fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also KDS's GDB Client Setup is more flexible than MCUX GDB Client Settings.&lt;/P&gt;&lt;P&gt;KDS&amp;nbsp;has Other options, plus commands, while in MCUX there is no place to enter commands and options.&lt;/P&gt;&lt;P&gt;See kds.png.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how to address this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 03:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621277#M79</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-27T03:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621278#M80</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;There is defect in MCUXpresso green debug button if use Jlink as interface.&lt;/P&gt;&lt;P&gt;From my test, if use green debug button with Jlink, It will generate incorrect launch file, that results the fail connection with Jlink. This is a known issue and this will be fixed in next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With current MCUXpresso 1.0, to work with Jlink, I suggest use blue debug button as below. From my test, there is no issue with it.&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/17742i9476999D498918B4/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;Currently I don't have a K22 board in hand. If you want, please let me know. I can create a video for you when I get a board tomorrow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&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>Mon, 27 Mar 2017 10:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621278#M80</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-03-27T10:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621279#M81</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As detailed in the MCUXpresso IDE User Guide chapter "Debugging a Project" : &amp;nbsp;Use the Quickstart Panel -&amp;gt; Debug option to trigger probe discovery and start a debug session (the "blue" debug button on the toolbar is effectively a shortcut to the Quickstart Panel - Debug option). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We generally do not recommend the use of the standard Eclipse "green" Debug button (unless you really know what you are doing and want to manually set up launch configurations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 10:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621279#M81</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-27T10:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621280#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We aren't seeing any issues here - though I am currently using an external J-Link connected to my FRDM-K22 board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Terminate your debug session (if the IDE thinks it is still active)&lt;/LI&gt;&lt;LI&gt;Disconnect your board from your Mac&lt;/LI&gt;&lt;LI&gt;Delete all .launch files in your project, plus the Debug / Release folders&lt;/LI&gt;&lt;LI&gt;Check in Activity Monitor and make sure none of the following processes are running (and if they are, kill them)...&lt;/LI&gt;&lt;/OL&gt;&lt;P style="padding-left: 60px;"&gt;arm-none-eabi-gdb&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;redlinkserv&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;JLinkGDBServer&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;/P&gt;&lt;P&gt;Then reconnect your board to your Mac, select your project in the Project Explorer View, and go down to the QuickStart Panel and click on the "Debug &amp;lt;projectname&amp;gt;" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compare what you see with the MCUXpresso IDE User Guide (chapter 9, as well as the SEGGER specific information in sections 3.8 -&amp;gt; 3.10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you also confirm what version of Mac OSX you are using? (I'm on 10.12.3).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 10:44:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621280#M82</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-27T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621281#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried all the suggestions (blue bug icon to launch, cleanup workspace and recreate the app, follow UG chapter 9, chapter 3.8 - 3.10, etc), but sadly nothing helped.&lt;/P&gt;&lt;P&gt;I'm in OSX 10.11.6 (El Capitan). Here's the new error message when started debugging.&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;Error in final launch sequence&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;Failed to execute MI command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;-target-select remote localhost:2331&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;Error message from debugger back end:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;Unknown remote qXfer reply: OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #4c2f2d; background-color: #dfdbc4;"&gt;&lt;SPAN&gt;Unknown remote qXfer reply: OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still seems there is communication problem between GDB server and client.&lt;/P&gt;&lt;P&gt;Again everything works fine under KDS 1.3 with KSDK 2.0 with the same K22F board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 04:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621281#M83</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-28T04:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621282#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, could you please send &amp;nbsp;the J-Link sever log? you can find it on the console view, by selecting the J-Link sever console (see attached screenshot):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-03-28 at 10.34.35.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16969i4B5631DE8A014DDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-03-28 at 10.34.35.png" alt="Screen Shot 2017-03-28 at 10.34.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciao,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 09:37:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621282#M84</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-28T09:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621283#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's the log:&lt;/P&gt;&lt;P style="color: #0433ff; font-size: 11px;"&gt;Executing Server: /Applications/SEGGER/JLink/JLinkGDBServer&amp;nbsp; -nosilent -swoport 2332 -select USB=621000000 -telnetport 2333 -endian little -noir -speed auto -port 2331&amp;nbsp; -vd -device MK22FN512xxx12 -if SWD&amp;nbsp; -nohalt -reportuseraction&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;SEGGER J-Link GDB Server V6.14 Command Line Version&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;JLinkARM.dll V6.14 (DLL compiled Feb 23 2017 17:31:36)&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;-----GDB Server start settings-----&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;GDBInit file:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; none&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;GDB Server Listening port: &amp;nbsp; &amp;nbsp; 2331&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;SWO raw output listening port: 2332&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Terminal I/O port: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2333&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Accept remote connection:&amp;nbsp; &amp;nbsp; &amp;nbsp; yes&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Generate logfile:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; off&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Verify download: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; on&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Init regs on start:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; off&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Silent mode: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; off&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Single run mode: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; off&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target connection timeout: &amp;nbsp; &amp;nbsp; 0 ms&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;------J-Link related settings------&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;J-Link Host interface: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USB&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;J-Link script: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; none&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;J-Link settings file:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; none&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;------Target related settings------&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target device: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MK22FN512xxx12&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target interface:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SWD&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target interface speed:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auto&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target endian: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; little&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Connecting to J-Link...&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;J-Link is connected.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Device "MK22FN512XXX12" selected.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Firmware: J-Link OpenSDA 2 compiled Oct&amp;nbsp; 6 2015 19:31:42&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Hardware: V1.00&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;S/N: 621000000&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Checking target voltage...&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Target voltage: 3.30 V&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Listening on TCP/IP port 2331&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Connecting to target...Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;AP-IDR: 0x24770011, Type: AHB-AP&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Found Cortex-M4 r0p1, Little endian.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;CoreSight components:&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 @ E00FF000&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB00C SCS&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [3]: FFF01000, CID: B105E00D, PID: 003BB001 ITM&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [4]: FFF41000, CID: B105900D, PID: 000BB9A1 TPIU&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Found SWD-DP with ID 0x2BA01477&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;AP-IDR: 0x24770011, Type: AHB-AP&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;AHB-AP ROM: 0xE00FF000 (Base addr. of first ROM table)&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Found Cortex-M4 r0p1, Little endian.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;FPUnit: 6 code (BP) slots and 2 literal slots&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;CoreSight components:&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 @ E00FF000&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [0]: FFF0F000, CID: B105E00D, PID: 000BB00C SCS&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [1]: FFF02000, CID: B105E00D, PID: 003BB002 DWT&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [2]: FFF03000, CID: B105E00D, PID: 002BB003 FPB&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [3]: FFF01000, CID: B105E00D, PID: 003BB001 ITM&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;ROMTbl 0 [4]: FFF41000, CID: B105900D, PID: 000BB9A1 TPIU&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Connected to target&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Waiting for GDB connection...Connected to 127.0.0.1&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;&lt;/P&gt;&lt;P style="color: #0433ff; font-size: 11px;"&gt;Server has been shut down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 12:43:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621283#M85</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-28T12:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621284#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So at the point you see the server shut down, I see the connection succeeding.&amp;nbsp;One obvious other thing in the log is that I see you are using quite an old version of the SEGGER OpenSDA firmware (Oct 2015). I would suggest downloading and installing the latest version for the FRDM-K22 (from Feb 2017), which you can find via &lt;A href="http://www.nxp.com/opensda"&gt;http://www.nxp.com/opensda&lt;/A&gt;. This is the version I've been using here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 15:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621284#M86</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-28T15:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621285#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still get the same error after upgrading the OpenSDA firmware to the most recent version:&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Connecting to J-Link...&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;J-Link is connected.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Device "MK22FN512XXX12" selected.&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Firmware: J-Link OpenSDA 2 compiled Feb 28 2017 19:27:57&lt;/P&gt;&lt;P style="font-size: 11px;"&gt;Hardware: V1.00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:09:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621285#M87</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-29T02:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621286#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirvana,&lt;/P&gt;&lt;P&gt;have you downloaded and installed as well the latest SEGGER J-Link software from &lt;A class="link-titled" href="https://www.segger.com/downloads/jlink" title="https://www.segger.com/downloads/jlink"&gt;SEGGER - The Embedded Experts - Downloads - J-Link / J-Trace&lt;/A&gt;&amp;nbsp; (V6.14b is currently the latest) too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 10:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621286#M88</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-03-29T10:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621287#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich, yes I'm using V6.14 (comes with MCUXpresso installation), in the JLink log I posted above:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 11px;"&gt;JLinkARM.dll V6.14 (DLL compiled Feb 23 2017 17:31:36)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 13:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621287#M89</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-29T13:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621288#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nirvana,&lt;/P&gt;&lt;P&gt;ah, sorry, I have missed that.&lt;/P&gt;&lt;P&gt;One thing to note or check: using the SEGGER firmware on a FRDM (or Tower) board pops up a dialog at least once every day. Could it be that you don't see that dialog? See that dialog on &lt;A class="link-titled" href="https://www.segger.com/opensda.html" title="https://www.segger.com/opensda.html"&gt;SEGGER - The Embedded Experts - OpenSDA / OpenSDA V2&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;If you don't see that dialog, it could be that this is your problem (It works on my Windows machine, and I don't have a Mac to try that). Maybe you could get that dialog to acknowledge (with the check mark) if you run any of the Segger tools and connect to your board? Then that dialog should show up too.&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, 29 Mar 2017 13:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621288#M90</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-03-29T13:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621289#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich, thanks for pointing that out, but I never see that dialog on Mac :-(&lt;/P&gt;&lt;P&gt;(I assume the JLink/USB driver is already installed).&lt;/P&gt;&lt;P&gt;The frustration part is that, with the same K22F board, KDS works fine, but not MCUXpresso. May be I should wait till its next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 14:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621289#M91</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-29T14:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621290#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all - can you confirm whether you have ever managed to debug your board using MCUXpresso IDE? Even just once?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, an update as to where we have got to with our investigations into your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, we cannot replicate your problem - on a variety of Mac machines of different types, vintages and OS versions (and note that most of the IDE team actually have Macs on their desks for both development and testing work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have seen a couple of failures that appear to match your situation.&amp;nbsp;When it has failed, it generally appears that the gdb traces show an unexpected OK from the SEGGER gdb server...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;195,232 13^error,msg="Unknown remote qXfer reply: OK"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which then kills the debug session as you have seen.&amp;nbsp;But we have not found a way of replicating the issue in a repeatable way.&amp;nbsp;99.9% of the time it just works fine. And when it fails, the next attempt just works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple of things I have noticed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Periodically, we have seen the OpenSDA J-Link dismounted by the Mac (from the Mac OS "Disk not ejected properly" message) and it automatically reenumerates again as the OpenSDA Bootloader. If this happens, then the next debug session obviously fails. I don't see how this can be anything the IDE is doing can be triggering though - I've seen it when the IDE isn't actually doing anything. Anyway in this situation, the board has to be unplugged and replugged in, so that it comes back up as the OpenSDA J-Link probe. &amp;nbsp;It might be worth keeping an eye on how your Mac is handling your board : using &amp;nbsp;the "USB prober" utility if you have it, otherwise using the terminal command :&amp;nbsp;&lt;STRONG&gt;system_profiler SPUSBDataType&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;We aren't seeing any prompt to accept the license terms for using the OpenSDA J-Link on Mac either. We will follow up on this with SEGGER.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing you could try, temporarily, is to change the GDB version that is used by the IDE for debugging. By default, MCUXpresso IDE uses GDB7.12 (and this is required for some of the IDE's&amp;nbsp;debug functionality). But we do also ship GDB7.10 too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using GDB7.10 instead by going to the IDE Preferences (under the MCUXpresso IDE menu entry on Mac):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Preferences -&amp;gt; MCUXpresso IDE -&amp;gt; Debug options (misc)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and changing "arm-none-eabi-gdb" to "arm-none-eabi-gdb-7.10" (without the " characters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you will need to delete your project's launch configurations, and allow the Quickstart Panel debug option to recreate them&amp;nbsp;after doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; We would recommend undoing this gdb change if it doesn't help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would also be interesting if you could confirm whether (temporarily) reprogramming the OpenSDA probe on your board with DAP-Link (CMSIS-DAP) firmware and then with P&amp;amp;E firmware allows successfully debugging from MCUXpresso IDE or not. Download from &lt;A href="http://www.nxp.com/opensda"&gt;http://www.nxp.com/opensda&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use of an external probe would also be an interesting test, if you have access to one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also suggest trying different USB cables, different USB ports on your Mac, and potentially a powered hub too (or using a direct USB port on your Mac if you are currently using a hub).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 10:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621290#M92</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-30T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621291#M93</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;follow your guide, I have success launch j-link debugger. thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I'm running in Window10, "arm-none-eabi-gdb-7.10" should be "arm-none-eabi-gdb-7.10.exe".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another thing, the blue debug icon on my MCUXpresso IDE is gray, I can not click it, I have to start debug on Quickstart panel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 04:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621291#M93</guid>
      <dc:creator>phantomgz</dc:creator>
      <dc:date>2017-03-31T04:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621292#M94</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are seeing problems using J-Link on Windows 10, please can you post full details into a new and separate thread - ensuring that you provide as much detail as possible - so that we can investigate separately to the "FRDM-K22 OpenSDA J-Link on Mac OS issue" being investigated in this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As well as a full description of the problem you are seeing, please make sure you include&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Host computer details&lt;/LI&gt;&lt;LI&gt;J-Link version&lt;/LI&gt;&lt;LI&gt;Target MCU and board&lt;/LI&gt;&lt;LI&gt;GDB traces log&lt;/LI&gt;&lt;LI&gt;JLinkServer log&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 10:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621292#M94</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-03-31T10:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621293#M95</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The gdb error "Unknown remote qXfer reply: OK" seems to be related to a timeout of GDB. So maybe your machine somehow is not as fast than others, then it causes the problem (I think). At least I have found it in a OpenOCD post (&lt;A class="link-titled" href="https://sourceforge.net/p/openocd/mailman/message/34563541/" title="https://sourceforge.net/p/openocd/mailman/message/34563541/"&gt;OpenOCD - Open On-Chip Debugger / Mailing Lists&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;I don't have a Mac, but if it works for KDS, but not for MCUXpresso, I suggest to have a look at the start parameters for GDB. On KDS you can find them in the arm-none-eabi-gdb properties inside the Debug view (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/08/07/eclipse-and-gdb-process-properties-arguments-and-gdb-traces/" title="https://mcuoneclipse.com/2016/08/07/eclipse-and-gdb-process-properties-arguments-and-gdb-traces/"&gt;Eclipse and GDB: Process Properties, Arguments and GDB Traces | MCU on Eclipse&lt;/A&gt; ). For example I have this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;C:\nxp\KDS_3.2.0\eclipse\../segger/JLinkGDBServerCL -if swd -device MK64FN1M0xxx12 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 –s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The paramters in MCUXpresso you can find in the console view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16037i1841D25F0351B6E4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Executing Server: C:\Program Files (x86)\SEGGER\JLink_V614b\JLinkGDBServerCL.exe&amp;nbsp; -nosilent -swoport 2332 -select USB -telnetport 2333 -endian little -noir -speed auto -port 2331&amp;nbsp; -vd -device MK64FN1M0xxx12 -if SWD&amp;nbsp; -nohalt -reportuseraction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you might try is to use the monitor sleep command (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/10/23/workaround-for-error-in-final-launch-sequence-cannot-execute-this-command-without-a-live-selected-thread/" title="https://mcuoneclipse.com/2016/10/23/workaround-for-error-in-final-launch-sequence-cannot-execute-this-command-without-a-live-selected-thread/"&gt;Workaround for “Error in final launch sequence: Cannot execute this command without a live selected thread.” | MCU on Ec…&lt;/A&gt;&amp;nbsp;):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_19.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16085i7A8A1FB277ABF00A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_19.png" alt="pastedImage_19.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 14:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621293#M95</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-03-31T14:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621294#M96</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich, you're always so willing and able to help.&lt;/P&gt;&lt;P&gt;I'm able to debug now in MCUXpresso.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 16:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621294#M96</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-31T16:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621295#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm finally able to debug via MCUXpresso.&lt;/P&gt;&lt;P&gt;Here's one hint hopefully useful for your troubleshooting green bug button debugging issue.&lt;/P&gt;&lt;P&gt;I compared command line arguments passing to JLink GDB Server, the only difference is, the blue button path provides the correct K22F onboard JLink S/N, while the green button path hardcoded it with:&lt;/P&gt;&lt;P&gt;-select USB=123456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all again for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 16:41:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621295#M97</guid>
      <dc:creator>nirvanauscn</dc:creator>
      <dc:date>2017-03-31T16:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Segger J-Link Debugging Problem</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621296#M98</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be extremely helpful if you could clarify exactly how you solved your issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And with regards to the green button, as stated above and in the documentation - we generally do not recommend using it. It is a standard Eclipse button and does not (currently at least) integrate into the MCUXpress IDE auto-probe detection and launch configuration creation system. This is why we recommend&amp;nbsp;using the Quickstart Panel's Debug option (inherited from LPCXpresso IDE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 08:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Segger-J-Link-Debugging-Problem/m-p/621296#M98</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-04-03T08:39:28Z</dc:date>
    </item>
  </channel>
</rss>

