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
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
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
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
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.
I Updated KDS, still same problem.
And code is successfully downloaded... so only debug having problems.