Hello World Demo Problem

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

Hello World Demo Problem

968 Views
simonshaw92
Contributor I

Hi all!!

I am a beginner of FRDM-K64. I followed all the procedure from Freedom Development Platform for Kinetis K|Freescale    But When I was in "begin and run" section and tried to build the hello world project demo I was told 103039_103039.pngpastedImage_1.png

Please help me out and I will really appreciate it.!!1

 

 

thanks!!

Labels (1)
7 Replies

626 Views
leedavis
Contributor I

Hello,

I'm a user here also.

I have tried to run code and had the same when there are build errors.

Did you locate what is causing the error?  ie C-code error....

Just a thought.

Good luck

0 Kudos

626 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Lee,

the error message mentioned above means, that you have a problem with .elf file (i.g. is not created),

elf.png
if you import demo code, .wsd file it is always needed to build library first and then the project.

After that, correctly set debugger.

Please, have you followed all mentioned steps?

Please take a look at importing demo projects, describing here i can import ,sample codes of ksdk for mk22f in kds3.0,it shows Program "make" not found in PATH er...

and let me know.

If your issue still persists, please let us know.

Thank you.

Have a nice day.

Iva

626 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Simon,

it looks you have not compiled libraries.

I recommend you Getting Started with KSDK 1.3

Please, have you tried import .wsd file? I described it here

i can import ,sample codes of ksdk for mk22f in kds3.0,it shows Program "make" not found in PATH er...

Let me know, if it helps you.

Best Regards,

Iva

0 Kudos

626 Views
york9
Contributor I

Did you watch the video in section 3 Build, Run and went through the steps?

(i.e. updating Eclipse, building platform library)

0 Kudos

626 Views
simonshaw92
Contributor I

Hi Joerg. Yes I did :smileysad:

0 Kudos

626 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Simon,

please, also, take a look at videos series

Video Link : 3281

Video Link : 3282

Video Link : 3283

Video Link : 3297

I hope this helps as well.

Best Regards,

Iva

0 Kudos

626 Views
york9
Contributor I

Ok, there is a trap in the documentation.

The step "Build, Download and Run" is not well explained.

You have to use a different firmware for your board, i.e. Segger J-Link or PE-Micro.

The default firmware will not work.

Try the combination Segger J-Link (it's free) and KDS.

In this case you have to download the bootloader on your board first.

Take a look at:

https://community.freescale.com/docs/DOC-105199

and

http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDK13GSUG.pdf?fsrch=1&sr=8&pageNum...

Skip the sections IAR, Keil, TrueStudio and ARM GCC.

When you've updated the firmware on the board,

you'll use the Debug, not Run. It will also flash.

Described on page 29 of the doc in the 2nd link.

Good luck,

Joerg

0 Kudos