Debug problem with FRDM-KW41Z

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

Debug problem with FRDM-KW41Z

2,742 次查看
miroslavmrdan
Contributor I

Hi,

I can't start debug for FRDM-KW41Z in KDS.

Last message in console is always:

Connecting to target...Connected to target
Waiting for GDB connection...Restoring target state and closing J-Link connection...
Shutting down...

Any help....

Thank you,

Miroslav

标记 (1)
0 项奖励
回复
6 回复数

2,457 次查看
gerardo_rodriguez
NXP Employee
NXP Employee

Hi Miroslav,
Are you using KDS 3.2.0? You can check the version in Help > About Kinetis Design Studio.
Also, which OS are you using? 
Can you share a screenshot of the debugger tab in your debug configuration window?

Regards,
Gerardo

0 项奖励
回复

2,457 次查看
jc_pacheco
NXP Employee
NXP Employee

Hello Miroslav, 

Just to be sure, did you update the Segger Driver on the KDS?

See "Note" in "2.3 PC Configuration" section under the Getting started website

Note: The DLL updater will update your KDS installation, but your KDS installation may not have been using the same path that was update. So, after the update runs your KDS installation may still be pointing to an outdated Segger driver. To ensure your KDS installation is pointing to the proper Segger driver, follow these steps to update the Jlink path variable in KDS.

-JC

0 项奖励
回复

2,457 次查看
miroslavmrdan
Contributor I

Hi Juan,

Thanks for prompt answer. Segger driver is updated, path is correct

This is also one of the debug messages: 

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Don't know how to run. Try "help target".
Don't know how to run. Try "help target".
I will just add that all examples are working with IAR.

All the best,

Miroslav

0 项奖励
回复

2,457 次查看
msjadem
Contributor I

Make sure to check for updates in KDS. If you receive an error like " Unable to read repository at https://gnuarmeclipse.sourceforge.net/updates/content.xml", you can still download that repository in a zip file and manually update.

0 项奖励
回复

2,457 次查看
miroslavmrdan
Contributor I

I Updated KDS, still same problem.

0 项奖励
回复

2,457 次查看
miroslavmrdan
Contributor I

And code is successfully downloaded... so only debug having problems.

0 项奖励
回复