KDS path not set

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

KDS path not set

1,384 Views
JiaAn
Contributor I

I am running KDS3.3.0. And when I press debug. There's an error:

JiaAn_0-1628060260872.png

I am using Windows 10 (x64) and debugging MKL17Z256 with USBDM. I did check that USBDM can program MCU without any error message. But what I need is to use KDS to debug my code. Can anyone tell me how to fix this problem? Thanks.

 

0 Kudos
Reply
9 Replies

1,365 Views
ErichStyger
Senior Contributor V

Your command line shows spaces in the command for the executable, this is probably the issue. Otherwise I recommend to consult the USBDM forum/user group?

0 Kudos
Reply

1,362 Views
JiaAn
Contributor I

I accidentally find out that I do not have C:\Freescale\KSDK

JiaAn_0-1628065198710.png

But I already install it.

JiaAn_1-1628065280823.png

 

Could this be a problem? If so, how should I fix this?

 

0 Kudos
Reply

1,353 Views
ErichStyger
Senior Contributor V

no, your problem is that it cannot find the gdb for USBDM, so the path to the gdb is wrong.

0 Kudos
Reply

1,343 Views
JiaAn
Contributor I

Okay, but I just figure out that I got another problem.

A project can build on another computer. But on mine, it will show errors.

JiaAn_0-1628125927330.png

Do you know what might cause this? I can't even build the project.

0 Kudos
Reply

1,333 Views
ErichStyger
Senior Contributor V

Check the build tools output in the Eclipse console view.

0 Kudos
Reply

1,382 Views
ErichStyger
Senior Contributor V

Check your launch configuration: it seems to me that you don't have correctly configured the path to USBDM.

 

I hope this helps,

Erich

0 Kudos
Reply

1,380 Views
JiaAn
Contributor I

This is my first time using KDS and USBDM. I need more details to help.

Can you tell me where should I found the launch configuration? Thank you.

0 Kudos
Reply

1,377 Views
ErichStyger
Senior Contributor V

Menu Run > Run Configurations shows all launch configurations.

0 Kudos
Reply

1,373 Views
JiaAn
Contributor I

I checked the settings. And seems nothing wrong there.

I attached the screenshots in case there're some settings incorrect but I didn't find out.

JiaAn_0-1628061723885.png

 

JiaAn_1-1628061775501.pngJiaAn_2-1628061806440.png

JiaAn_3-1628061831134.png

 

JiaAn_4-1628061853188.png

 

0 Kudos
Reply