Unable to KDS

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

Unable to KDS

Jump to solution
2,237 Views
youngcheolsong
Contributor II

Hello,

I'd like to use the Kinetis Design Studio to develop for Kinetis Processor.

I installed KDS 1.0.1(beta), and try to connect target.

But I face with Error Window when i click debug Icon.

The window title is "Unable to Launch", and content is "The selection cannot be launched, and there are no recent launches."

Could you help me to use KDS ?

At this time, Build is OK, no error.

Labels (1)
Tags (3)
1 Solution
1,328 Views
BlackNight
NXP Employee
NXP Employee

'Run' does not make any sense, as this is typically for running an application on your local host machine. What you want to do is debug, not run.

You can see this if you inspect the Run configuration: there is nothing where you can specify which debug connection to use, and because no debug connection is set up, it will fail.

View solution in original post

8 Replies
1,328 Views
BlackNight
NXP Employee
NXP Employee

Hello,

can I ask you to install the V1.1.0 version, as going forward, this is what will be supported in this forum?

V1.1.0 comes with many improvements, so please use that version.

In short, to debug, make sure you have created a debug configuration for your debug connection (OpenSDA, P&E or Segger), see KDS Debug Configurations (OpenOCD, P&E, Segger).

Then use the 'Debug' button in the launch configuration:

pastedImage_1.png

I hope this helps,

Erich

1,328 Views
youngcheolsong
Contributor II

Thank you Erich,

I installed KDS V1.1.0  and try to development my project.

Build is OK, but when i click the Debug ICON another Error Window as below.

Could you help me what can i solve this problem ?

KDS_Launch-Error2.PNG.png

0 Kudos
1,328 Views
BlackNight
NXP Employee
NXP Employee

That's a Eclipse GDB general problem from what I can tell (happens for other Eclipse distributions too):

You need to select from the drop down list which debug configuration you want to launch:

pastedImage_0.png

If you just want to press on the 'debug' icon, you need to check that it lists the launch config you want in the tool-tip:

pastedImage_1.png

For the tooltip to show up, you need to have debugged that project before, and you need to have that project selected.

I know that this is not the easiest thing and a quirk of the current Eclipse CDT debug integration, and I hope this will be improved in the next Eclipse release.

Erich

1,328 Views
youngcheolsong
Contributor II

Hello Erich,

Thank you for your help.

I can see only two items debug configuration from my drop down list as below.

KDS-debug-error3.png

When i select the -------.elf item the same problem window is popup.

But i select the ------.debug i can goto debug mode and run the target board.

And i have another problem.

In the debug window, 'Resume' icon is OK.

But when i click the 'Run' icon i face with problem window as below.

Why i can't run the ------.elf.

Could you help me some more ??

KDS-resume-Run.PNG.png

KDS-debug-error4.png


0 Kudos
1,329 Views
BlackNight
NXP Employee
NXP Employee

'Run' does not make any sense, as this is typically for running an application on your local host machine. What you want to do is debug, not run.

You can see this if you inspect the Run configuration: there is nothing where you can specify which debug connection to use, and because no debug connection is set up, it will fail.

1,328 Views
youngcheolsong
Contributor II

Hello, Erich,

Thank you very much for your help.

I can debug my target board with KDS environment.

Thanks again.


0 Kudos
1,328 Views
piergiovannigor
Contributor II

The dowloadable version is 1.0.1

Where to find version 1.1.0 ?

0 Kudos