How to get the good startup code for kinetis?

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

How to get the good startup code for kinetis?

Jump to solution
2,111 Views
adrien_segura12
Contributor I

Hi everyone !

I work on Codewarrior with a microship kinetis : MKL03Z16 . And, when i generate a new bareboard project, it asks me on wich microcontroler i want to work :

pastedImage_3.png

i can get the MKL04 , but no MKL03. I though both micro were close enough to work with the other startup code, but i was wrong. i need the MKL03Z16 startup code. Does anyone knows were or how to get it? i searched for few hours and didn't find anything.

Thanks for your help !

0 Kudos
Reply
1 Solution
1,985 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Adrien Segura,

CodeWarrior doesn't support this chip. Recommend you use the latest Kineits support IDE MCXUpresso IDE:

MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP 

This IDE is free and official supported.

With this IDE, you need download SDK for KL03:

https://mcuxpresso.nxp.com/en/select 

pastedImage_4.png

About how to use it , please refer to "MCUXpresso_IDE_User_Guide.pdf", I attached it for you.

Hope it helps,


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
5 Replies
1,986 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Adrien Segura,

CodeWarrior doesn't support this chip. Recommend you use the latest Kineits support IDE MCXUpresso IDE:

MCUXpresso IDE|Eclipse-based Integrated Development Environment (IDE) | NXP 

This IDE is free and official supported.

With this IDE, you need download SDK for KL03:

https://mcuxpresso.nxp.com/en/select 

pastedImage_4.png

About how to use it , please refer to "MCUXpresso_IDE_User_Guide.pdf", I attached it for you.

Hope it helps,


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
1,985 Views
adrien_segura12
Contributor I

Hi Alice,

Thanks , it does help a lot !!

No problem with the downloading or installing the features. But still, when i try to launch the startup program , i got this error :

pastedImage_1.png

"cannot run program" and "error starting process". And i don't know where does it come from, any ideas?

Thanks again for your help !

Adrien

0 Kudos
Reply
1,985 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Adrien,

Please tell me which debugger (debug probe) do you used?

Also take a video or screenshots show me your steps in detail .

BR

Alice

0 Kudos
Reply
1,985 Views
adrien_segura12
Contributor I

Hi Alice,

So, i added the  additionnal SDK library, from here, i created a new project :

pastedImage_1.png

then i choose my SDK library with my ship :

pastedImage_2.png

i used in the tab below every fonction i use for my project : UART, lptmr, GPIO etc... and then i click on finish.

my project is created successfully :

pastedImage_3.png

when i debug it, i got no problem.

then time to run it : i go on run configurations and create a new one and let the settings as default :

pastedImage_4.png

i also tried with a build configuration on "use active" or "debug", it does not change anything.

and then i run the program :

pastedImage_5.png

and there it is, i don't understand why it does that.

But, i tried to flash the program, and it worked. i don't fully understand the difference between those two, but the flash worked.

do you have any ideas? thanks a lot !

(also , as a debug probe, i use a multilink universal which is correctly detected and used by the flasher)

Adrien

0 Kudos
Reply
1,985 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Adrien,

Please use the Debug button under Quickstart Panel to debug the project:

pastedImage_16.png

And there is a suggestion, we'd better use the Buttons under Quickstart Panel when using MCXUpresso IDE.

Hope it helps,


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply