Cannot start debug session: MCUXpresso is stuck at "Target Discovery"

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

Cannot start debug session: MCUXpresso is stuck at "Target Discovery"

ソリューションへジャンプ
3,268件の閲覧回数
stefanopietrosa
Contributor II

A month ago MCUXpresso stopped being able to launch debug sessions, it now gets stuck at "Target Discovery":

stefanopietrosa_0-1635935596956.png

After a while I get this error message:

stefanopietrosa_1-1635935637876.png

Redlink server console:

stefanopietrosa_2-1635936171076.png

 

I am using MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15] with a LPC-Link2 debugger.

I have tried reinstalling MCUXpresso and re-flashing the debug probe but the problem keeps happening. Note that this problem happens regardless if I have any debug probe connected to the PC or not.

Thanks

0 件の賞賛
返信
1 解決策
3,211件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

How about delete the folder of .metadata under MCUXpresso IDE workspace, then use a simple project to debug.

 

BR

Alice

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
3,110件の閲覧回数
zophai
Contributor I

I just solved this problem.

1.check the firewall and secure software on your PC, allow redlinkserv and mcuxpresso(just like other answers mentioned)

2.try to use VPN, maybe your request was banned by your country's firewall

This works for me, hope it can help you.

0 件の賞賛
返信
3,110件の閲覧回数
zophai
Contributor I

zophai_0-1637746477076.png

zophai_1-1637746503132.png

Windows defender's configration

0 件の賞賛
返信
3,264件の閲覧回数
converse
Senior Contributor V

Check your firewall and/or AV software. It looks like the IDE is being blocked from communicating with the debugger.

0 件の賞賛
返信
3,259件の閲覧回数
stefanopietrosa
Contributor II

Sorry I forgot to mention that I disabled both the AV software and firewall, which already had exclusions set or MCUXpresso and redlinkserv. I used to be able to debug without issues just with the exclusions.

0 件の賞賛
返信
3,212件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

How about delete the folder of .metadata under MCUXpresso IDE workspace, then use a simple project to debug.

 

BR

Alice

0 件の賞賛
返信
3,198件の閲覧回数
stefanopietrosa
Contributor II

Hi,

I have deleted the .metadata folder, re-added my .launch file and the debug session started normally.

Thank you!

タグ(1)
0 件の賞賛
返信