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

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

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

跳至解决方案
735 次查看
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 解答
734 次查看
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 回复数
663 次查看
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 项奖励
回复
735 次查看
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.