<?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>MCUXpresso IDEのトピックRe: LPC Link 2 Dual Debug Configurations</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780448#M2562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; Debugging works as expected now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2017 13:45:44 GMT</pubDate>
    <dc:creator>jschepler</dc:creator>
    <dc:date>2017-11-17T13:45:44Z</dc:date>
    <item>
      <title>LPC Link 2 Dual Debug Configurations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780446#M2560</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;I am using MCUXpresso IDE v10.0.2 with a Kinetis K64F processor.&amp;nbsp; I have ported over the KSDK 1.3.0 version with MQX as the OS.&amp;nbsp; We will not be migrating to KSDK 2.X series since MQX is no longer free.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the MQX TAD views since they are critical for viewing os performance.&amp;nbsp; The only way this works with the LPCLink2 is if I use it in "all-stop" mode.&amp;nbsp; However, we also like the "non-stop" feature of the LPCLink2 which is being able to view variables each second without having to pause program execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create 2 debug configurations for the LPCLink2: 1 in Non-Stop Mode, and 1 in All-Stop Mode.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my procedure for creating these configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove all LPC Link 2 configurations from the project.&lt;/LI&gt;&lt;LI&gt;Click the "Blue Bug" icon to automatically search for probes.&lt;/LI&gt;&lt;LI&gt;From the "Probes Discovered" dialog, choose IDE Debug Mode --&amp;gt; All-Stop.&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33123iFFE45083E7011E45/image-size/large?v=v2&amp;amp;px=999" title="LPCLink2Selection.png" alt="LPCLink2Selection.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Click Ok.&lt;/LI&gt;&lt;LI&gt;The debug session starts and all is well.&lt;/LI&gt;&lt;LI&gt;Stop debugging and go to LPCLink2 debug configurations.&lt;/LI&gt;&lt;LI&gt;Right-click on the configuration created automatically and select "Duplicate"&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33152i42C0C73C05E53DE5/image-size/large?v=v2&amp;amp;px=999" title="DuplicateConfig.png" alt="DuplicateConfig.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;On the duplicated configuration go to the Debugger Tab, Main, and check "Non-Stop Mode"&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33174i91B6E4E558E82C5B/image-size/large?v=v2&amp;amp;px=999" title="ConfigNonStopMode.png" alt="ConfigNonStopMode.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Click Apply.&lt;/LI&gt;&lt;LI&gt;Click Debug.&lt;/LI&gt;&lt;LI&gt;The debug session will start and break at main like usual.&amp;nbsp; However, when I press play I no longer have the "Pause" option available, it is grayed out.&amp;nbsp;&amp;nbsp;&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33259i89410EB04C8EC742/image-size/large?v=v2&amp;amp;px=999" title="PauseGrayedOut.png" alt="PauseGrayedOut.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;It does stop at breakpoints and I am able to step when it breaks, but I don't have the option to pause.&amp;nbsp; Also, when I press the red "Terminate" button it does not actually disconnect from the target.&amp;nbsp; In task manager arm-non-eabi-gdb.exe is still running.&amp;nbsp; I have to restart MCUXpresso after killing the arm-none-eabi-gdb task to be able to debug again, or it says a session is already deployed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something else that needs to be changed when I copy over the configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I have an LPCLink2 configuration and I press the blue debug icon it automatically launches the one I created instead of pulling up the probe discovery dialog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780446#M2560</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2017-11-16T15:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Link 2 Dual Debug Configurations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780447#M2561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the NonStop mode needs the following commands in the GDB init section of your debugging configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;set non-stop on&lt;/LI&gt;&lt;LI&gt;set pagination off&lt;/LI&gt;&lt;LI&gt;set mi-async&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33202iDC7C4DDBB2D08450/image-size/large?v=v2&amp;amp;px=999" title="Screen Shot 2017-11-17 at 13.29.53.png" alt="Screen Shot 2017-11-17 at 13.29.53.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpressoIDE Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 13:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780447#M2561</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2017-11-17T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC Link 2 Dual Debug Configurations</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780448#M2562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; Debugging works as expected now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 13:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LPC-Link-2-Dual-Debug-Configurations/m-p/780448#M2562</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2017-11-17T13:45:44Z</dc:date>
    </item>
  </channel>
</rss>

