Cannot connect to J-Link SWD via MCUxpresso

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot connect to J-Link SWD via MCUxpresso

804件の閲覧回数
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 返信

785件の閲覧回数
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 件の賞賛
返信