Error when copying a project.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error when copying a project.

2,559件の閲覧回数
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 返答(返信)

2,479件の閲覧回数
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

2,479件の閲覧回数
patricio
Contributor IV

Hello Erich,

I follow your advise and now it works fine.

Thank you so much. 

Best regards. 

0 件の賞賛
返信