Error when copying a project.

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

Error when copying a project.

597 Views
patricio
Contributor IV

Hello,

I am working with a TWR-K64F120M board and Kinetis KDS 3.2.0 software, with Processor Expert and without SDK. 

I am able to create a new project and debug it ok. The firmware runs ok.

However, If I copy the project, rename it and import it, I am not able to make it work. "Error with command: gdb--version"  message shows when the project is launched.

Where am I failing?

In the first attached file I show you the way I generate the project, and in the second file, the steps I follow when I try to debug a copied project. 

Any help will be appreciated. 

BR.

2 Replies

517 Views
BlackNight
NXP Employee
NXP Employee

You are trying to debug the application on your host PC which obviously won't work.

If you check your debug configurations, you probably have created C/C++ Application ones which you can delete as they are for debugging applications on your host.

pastedImage_1.png

You need to create a new debug/launch configuration (select the project, then Run > Debug Configurations) and then double click on your debug connection (P&E or SEGGER) to create a debug configuration for it, and using that for debugging.

I hope this helps,

Erich

517 Views
patricio
Contributor IV

Hello Erich,

I follow your advise and now it works fine.

Thank you so much. 

Best regards. 

0 Kudos