Cannot connect to J-Link SWD via MCUxpresso

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cannot connect to J-Link SWD via MCUxpresso

805 次查看
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

标记 (2)
0 项奖励
回复
1 回复

786 次查看
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 项奖励
回复