developing a baremetal application for MKL14Z

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

developing a baremetal application for MKL14Z

ソリューションへジャンプ
1,425件の閲覧回数
ulivinico
Contributor II

I'm developing an application for MKL14Z.

May you suggest me some "starting code" or example projects for these microcontroller family to start with?

Where may I find specific header file such as "MKL14Z4.h" (not CMSIS).

タグ(3)
0 件の賞賛
返信
1 解決策
1,170件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Ulivini Co,

The KL14 is a subset of the KL25 device.

The KL25 has board support as standalone Freedom board or as Tower kit.

Please visit: FRDM-KL25Z Product Summary Page

Click the Download page to access tools and software: FRDM-KL25Z Product Summary Page

Look for following:

KL25_SC: FRDM-KL25Z and TWRKL25Z48M Sample Code Package.

Size (K): 25760 Format: exe Rev #: 8 Modified: 7/23/2013

kl25_sc_rev8\klxx-sc-baremetal\src\cpu\headers\MKL25Z4.h is super set header to cover the KL14 as well.


Also please review this post:

https://community.freescale.com/thread/312263

Regards,

David

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,171件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Ulivini Co,

The KL14 is a subset of the KL25 device.

The KL25 has board support as standalone Freedom board or as Tower kit.

Please visit: FRDM-KL25Z Product Summary Page

Click the Download page to access tools and software: FRDM-KL25Z Product Summary Page

Look for following:

KL25_SC: FRDM-KL25Z and TWRKL25Z48M Sample Code Package.

Size (K): 25760 Format: exe Rev #: 8 Modified: 7/23/2013

kl25_sc_rev8\klxx-sc-baremetal\src\cpu\headers\MKL25Z4.h is super set header to cover the KL14 as well.


Also please review this post:

https://community.freescale.com/thread/312263

Regards,

David

0 件の賞賛
返信
1,170件の閲覧回数
ulivinico
Contributor II

Thank you. I was able to run example "low_power_dma_uart_demo".

Then I've made a new project "TESTPRJ" by using "make_new_cw_project.exe" 

and I've created the directory "kl25_sc_rev8\klxx-sc-baremetal\src\projects\TESTPRJ" where I've copied the example code in "platinum".

These steps were ok and I was able to compile and debug the project.

Anyway, trying to compile other projects such as "FRDM_KL25ZDemo" I have several errors. Firstly, the files in subdirectories are not included, and this is easily solved by adding them to the project; then Codewarrior finds multiple definitions of some declaration since it finds, e.g., a second "sysinit.c".

Since it looks that I'm not following correct methods I would like to ask you which is the correct way to compile the given code? Thank you

0 件の賞賛
返信