Best method to load existing and samples project to KDS

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

  Best method to load existing and samples project to KDS

2,066 Views
sivaveluppillai
Contributor III

What is the best way to load either an existing project or sample project onto the KDS?

It seems the Import method not always loading all the paths and causing errors.

In CW you could drag and drop .project onto the CodeWarrior Projects folder and it seems to load all settings correctly. How to achieve the same in KDS?

Labels (1)
0 Kudos
10 Replies

1,489 Views
sivaveluppillai
Contributor III

That works great!

How to generate the driver code for the peripherals if the PE is not available in SDK2?

 

0 Kudos

1,489 Views
sivaveluppillai
Contributor III

Since the SDK2x is collection of code, do you still need to install this via

Help=>Install => New Software?

As my SDK2.x is empty

File => New => Kinetis SDK2.x Project

Thanks

0 Kudos

1,489 Views
MarekTrmac
NXP Employee
NXP Employee

Hi Siva,

SDK2.0 does not need to be installed.

Recommended Usage:
=> To download SDK 2.0 package:
  1. Go to http://kex.nxp.com/ and click "Build an SDK"
  2. Create a new configuration: select processor or board
  3. Select SDK version 2.0 and "Kinetis Design Studio" as a toolchain
  4. Use the 'Build SDK Package' button to create the ZIP file
  5. Download the ZIP package and unzip it into a user folder (recommended to unzip into c:\nxp\{package-name}\)


=> To Create new project with the wizard:
  1. Start Kinetis Design Studio
  2. Select the menu File > New  > Kinetis SDK 2.x Project
  3. Enter project name and select path where you have unzipped the SDK package from previous step and press [Next>]
  4. Select board or processor or board example and press [Next>]
  5. Finish wizard
=> Now you can build and debug your project

Regards

Marek

1,489 Views
sivaveluppillai
Contributor III

 

Hello Erich

Is that means PE is not getting promoted much?

Thanks

0 Kudos

1,489 Views
BlackNight
NXP Employee
NXP Employee

Hi Siva,

Correct. Processor Expert is available up to the Kinetis SDK V1.3. It is not supported any more in the SDK V2.0.

Erich

0 Kudos

1,489 Views
sivaveluppillai
Contributor III

 

Hello Eric and Marek

I am experimenting example code of TWR-K65F180M and FRDM-K66F.

I have built the SDK for the board FRDM-K66F using the Kinetis Expert System Config Tool and it seems to compile and run the sample code without any issues.

None of the projects are PE based. Is there any sample code generated by PE for FRDM-K66F as I plan to build my project using PE?

Thanks

0 Kudos

1,489 Views
BlackNight
NXP Employee
NXP Employee

Hi Siva,

the is only Processor Expert support in the Kinetis SDK V1.3, but no dedicated examples afaik.

Erich

0 Kudos

1,489 Views
BlackNight
NXP Employee
NXP Employee

Using the Import method is the standard and recommended way with Eclipse to import a project.

The drag&drop of a .project file in CodeWarrior does the same as the File > Import > Existing projects. I think the problem you see are with SDK projects: these projects depend on variables, paths to the SDK and relative paths to the SDK from the project location. For these projects you should *not* enable the 'copy project into the workspace' option during the import, otherwise the paths are not correctly set.

I hope this helps,

Erich

1,489 Views
sivaveluppillai
Contributor III

I tried without selecting "copy projects into the workplace" method but still getting lots of errors.

0 Kudos

1,489 Views
MarekTrmac
NXP Employee
NXP Employee

Hi Siva, what sample projects are you trying to import? What SDK package is it?

Regards

Marek