Cannot connect to J-Link SWD via MCUxpresso

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot connect to J-Link SWD via MCUxpresso

846 Views
jeremy_corbeil
Contributor I

I am having issues connecting to the Segger J-Link when opening a debug session in MCUxpresso. I suspect its because my firewall is blocking the loopback of the debug server. Here is the detail text of the error when attempting to open up a debug session:

Error in final launch sequence:

Failed to execute MI command:
-target-select remote localhost:2331

Error message from debugger back end:
localhost:2331: No connection could be made because the target machine actively refused it.
Failed to execute MI command:
-target-select remote localhost:2331

Error message from debugger back end:
localhost:2331: No connection could be made because the target machine actively refused it.
localhost:2331: No connection could be made because the target machine actively refused it.

To be clear, I'm working on a secure laptop with a firewall that will block most unauthorized connections and getting exceptions and port forwarding is only achievable by applying to the security department. The best solution would be to bypass the loopback server, assuming the loopback server is the issue.

Also note that my firewall is preventing me from attaching files so please note I can only share text information.

Thanks and regards,

Jeremy

Tags (2)
0 Kudos
Reply
1 Reply

827 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @jeremy_corbeil!

You mentioned on an email that you’ve already solved this issue, so we’re going to close this thread. Don’t hesitate on contacting us again if you require further assistance!

 

Regards,

Edwin.

0 Kudos
Reply