<?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 Can't debug using Segger Tunnel Server in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999620#M2887</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've been trying to debug with MCUXpresso 10.3.1, using a remote Segger J-Link (on a different site); the J-Link is connected via J-Link remote server to the SEGGER Tunnel Server (6.48b, matching the firmware in the J-Link).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to debug using MCUXpresso, it manages to connect to the debugger, and the attached target PCB (an IMXRT1052, if that makes any difference), but it fails with a timeout. The message is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Remote replied unexpectedly to 'vMustReplyEmpty': timeout&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried adding a run command "monitor sleep 500", as suggested in a different thread, but this does not seem to make any difference. Any ideas as to how I could to deal with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2019 08:46:05 GMT</pubDate>
    <dc:creator>andrew_walsh</dc:creator>
    <dc:date>2019-12-03T08:46:05Z</dc:date>
    <item>
      <title>Can't debug using Segger Tunnel Server</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999620#M2887</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've been trying to debug with MCUXpresso 10.3.1, using a remote Segger J-Link (on a different site); the J-Link is connected via J-Link remote server to the SEGGER Tunnel Server (6.48b, matching the firmware in the J-Link).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to debug using MCUXpresso, it manages to connect to the debugger, and the attached target PCB (an IMXRT1052, if that makes any difference), but it fails with a timeout. The message is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Remote replied unexpectedly to 'vMustReplyEmpty': timeout&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried adding a run command "monitor sleep 500", as suggested in a different thread, but this does not seem to make any difference. Any ideas as to how I could to deal with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 08:46:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999620#M2887</guid>
      <dc:creator>andrew_walsh</dc:creator>
      <dc:date>2019-12-03T08:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't debug using Segger Tunnel Server</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999621#M2888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;I doubt that the monitor sleep command would help, as this simply delays the server for the given amount.&lt;/P&gt;&lt;P&gt;Have you tried the same setup in your local network? I think your network connection adds too much delay to get it working in a reliable way. What J-Link are you using? It might be helpful to use one with an Ethernet connector (if you are using a USB based one connected to the host) and making a direct tunnel connection between the networks.&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>Tue, 10 Dec 2019 06:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999621#M2888</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2019-12-10T06:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can't debug using Segger Tunnel Server</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999622#M2889</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;&lt;/P&gt;&lt;P&gt;Thanks for getting back to me. We are using a J-Link Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We started out by attempting to connect directly from MCUXpresso to a J-Link Pro on another network (using port forwarding - this approach is not secure, of course). This was not working, for reasons I'm not certain of (to be honest, I can't remember!).&lt;/P&gt;&lt;P&gt;In any case, I came across a statement on the Segger forums where they indicate that even a J-Link Pro (with an Ethernet interface) is only intended&amp;nbsp;for use&amp;nbsp;*inside* a LAN; they imply that timing problems would occur if a VPN, etc, was used. So, on reading this, I abandoned this first idea,&amp;nbsp;instead using the J-Link Remote Server software, since this situation is one of Segger's stated use cases for this software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried using a remote GDB server (an&amp;nbsp;idea&amp;nbsp;I think I came across on your blog, possibly :-D) across our VPN, but I could not get this to work either. In this case, I had the two computers on my desk; one running the GDB server with the debugger connected, and one a laptop running MCUExpresso connected to the VPN through our guest WiFi network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two reasons for wanting to do this: first a customer wants us to be able to remote debug their setup if necessary, and I soon also will have to work from home whilst leaving my dev hardware in the office, and I was hoping to avoid using Windows Remote Desktop...! Perhaps I will have to fall back to that approach...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 09:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Can-t-debug-using-Segger-Tunnel-Server/m-p/999622#M2889</guid>
      <dc:creator>andrew_walsh</dc:creator>
      <dc:date>2019-12-11T09:31:44Z</dc:date>
    </item>
  </channel>
</rss>

