Trouble with create new project in SDK1.3 with Processor expert

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

Trouble with create new project in SDK1.3 with Processor expert

1,212 Views
oleglavrukhin
Contributor IV

Hello, community!

I have a trouble with create new project in Kinetis Design Studio 3. I build a SDK1.3 in Kinetis expert for my FRDM-K64f board, unpack it and make a Eclipse update in KDS. Installed Processor Expert for Kinetis 3.0.2. I build ksdk_platform_lib and ksdk_ hal_lib. then i create new project with a wizard:

1) select "Kinetis SDK 1.x or Processor expert Project"

2) input project name

3) select device. I try to make a different projects for "board" and "Processor"

4) I select a Kinetis SDK (SDK1.3 for FRDM-K64F and check SDK path; i choose "Processor expert"; I try to make a different projects for "linked" and "standalone"; create a project.

5) then i added a processor expert component, for example, I2C (fsl_I2C from KSDK1.3.0 repositories.

6) generate a processor expert code and build project and...

7) my project not work. when I look into driver's source file ( /SDK/platform/drivers/src/i2c/fsl_i2c_master_driver.c) i see, what all the driver functions is not active, because "FSL_FEATURE_SOC_I2C_COUNT" is "false"

153558_153558.png1.png

8) i try to add another components but get same result...

 

"FSL_FEATURE_SOC_I2C_COUNT" and other peripheria defined in file "MK64F12_features.h" which called from "fsl_device_registers.h" which called from "Cpu.h" which include in main.c

I really don't understanding, why "feature defines" (active for my CPU in "MK64F12_features.h") not work.

 

153559_153559.png2.png

Hope for HELP!!!

 

Regards, Oleg

Labels (1)
6 Replies

820 Views
ivadorazinova
NXP Employee
NXP Employee

Hello Oleg,

please can you attach your project?

Best Regards,

Iva

0 Kudos

820 Views
oleglavrukhin
Contributor IV

Hello, Iva! thanks for Your reply!

in attachment 2 clear(without my procedures) projects, create in Kinetis Design Studio v3.2 with all Updates; installed SDK1.3 for FRDM-K64F, my system is Windows 7 32-bit..

one project for "board" and one for "processor" in project wizard.

I added in this projects 2 processor expert components - fsl_I2C and fsl_SAI. You can see in the driver's source files (SDK\drivers\src\I2c or \sai)  that the drivers functions is not active.

if you make a ! change in "fsl_device_registers.h"  as I have indicated above, all will be OK.

I hope you can figure this out.

Regards, Oleg

820 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Oleg.

Many thanks for pointing out this !

I can confirm the same results also on my side.

I already reported the issue to Application Team and wait for the response.

I will keep you informed.

Many

0 Kudos

819 Views
oleglavrukhin
Contributor IV

I continued my experiments. I re-install KDS 3.2 and SDK1.3, create new project for FRDM-K64f board (SDK + processor expert) and... all the peripheral driver's functions is not active in driver file.

I install KDS 3.0 and SDK 1.3, create a project and get same result.

I think, this bug in SDK package.

I resolved this issue - in "fsl_device_registers.h" (/SDK/platform/device folder) in define block for my CPU, change a way for MK64F12 header files: #include "MK64F12/include/MK64F12_features.h" to #include <MK64F12/include/MK64F12_features.h>

then rebuild a project and all peripheral driver's functions is ACTIVE!!!

3.png

I hope this help somebody and I want  get a answer from SDK team about this issue.

Good luck

Oleg

819 Views
BlackNight
NXP Employee
NXP Employee

Hi Oleg,

I'm not sure if I can follow and see your problem. But if it is about what is grayed out and what is not grayed out in the Eclipse editor view: It could be related to use 'heuristics' in Eclipse. This controls how the 'index' is built which is responsible to gray out or show symbols in the Editor view.

If this is indeed the problem you describe, then have a look here: https://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/

Basically you should set the workspace settings to disable heuristics and rebuild the Index.

I hope this helps,

Erich

819 Views
oleglavrukhin
Contributor IV

Thanks, Erich! I change KDS setting and all OK!

I really don't know what we (developers and enthusiasts) shall do without Your MCUONECLIPSE.COM and your knowledges!

I'm think what User guide for KDS and SDK must have links for Your site in each section :smileyhappy:

Regards, Oleg

0 Kudos