RT1170-EVK CMSIS DAP-link issue -(undocumented errno 10061)

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

RT1170-EVK CMSIS DAP-link issue -(undocumented errno 10061)

ソリューションへジャンプ
400件の閲覧回数
VassiliN
Contributor III

I see that similar issues were reported before but could not find any solution or  troubleshooting steps. 

 

I have MIMXRT1170-EVK board MCUXpresso IDE and was able to run different sample SDK projects using CMSIS DAP-Link in debug mode. Window 10 as a host system. 

 

Now I created a new project for the board, builds OK, but when I run it in debug, DAP-Link reports the  disconnect undocumented error 10061.

 

More specifically MCUXpresso displays two popups.

The first one: 

 

Problem Occurred: 

'Launching <myProjectName> LinkServer Debug' has enecountered a problem. 

Error in final launch sequence :

Failed to execute MI command:

-target-select extended-remote localhost:10989

Error message from debugger back end:

Remote communication error. Target disconnected.:

(Undocumented errno 10061) .

 

The second one: 

31^error, msg="Remote communication error. Target disconnected.:

(Undocumented errno 10061) ."

-target-select extended-remote localhost:10989

 

Reason:

Failed to execute MI command:

-target-select extended-remote localhost:10989

Error message from debugger back end:

Remote communication error. Target disconnected.:

(Undocumented errno 10061) .

 

Again the SDK samples can run just fine on the same port.  

 

I compared the LinkServer Debugger settings of the sample project that works OK and those of my project, they are very similar except 

Additional options in my project (autogenerated by MCUXpresso tools) include: 

--cachelib libahb_lmem.so 

 

I also have Override Core Index option set to 1 for the second core. 

 

Any ideas on troubleshooting the issue? Any insights from the people who can look up the errno 10061 in the source code?

タグ(2)
0 件の賞賛
返信
1 解決策
399件の閲覧回数
VassiliN
Contributor III

Update: I found that the Driver was not set in my project setting for the Flash - BOARD_FLASH in MCU Settings - Memory Details section. 

The Driver column was empty. I set it to the MIMXRT1170_SFDP_QSPI.cfx and now I can reach the entry point of my code in Debug. 

 

I hope this will help somebody.  

 

 

 

元の投稿で解決策を見る

2 返答(返信)
328件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @VassiliN ,

    Thanks so much for your solution sharing.

   If you meet any issue in the future, welcome to create the new question post.

 

Best Regards,

kerry

0 件の賞賛
返信
400件の閲覧回数
VassiliN
Contributor III

Update: I found that the Driver was not set in my project setting for the Flash - BOARD_FLASH in MCU Settings - Memory Details section. 

The Driver column was empty. I set it to the MIMXRT1170_SFDP_QSPI.cfx and now I can reach the entry point of my code in Debug. 

 

I hope this will help somebody.