Debug problem with FRDM-KW41Z

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug problem with FRDM-KW41Z

889 Views
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

Tags (1)
0 Kudos
6 Replies

604 Views
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 Kudos

604 Views
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 Kudos

604 Views
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 Kudos

604 Views
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 Kudos

604 Views
miroslavmrdan
Contributor I

I Updated KDS, still same problem.

0 Kudos

604 Views
miroslavmrdan
Contributor I

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

0 Kudos