KDS 3.0.0 does not build hello_twrk70f120m

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

KDS 3.0.0 does not build hello_twrk70f120m

Jump to solution
2,052 Views
asmith
Contributor III

I have been trying to get KDS 3.0.0(Linux - debian) to build an MQX application for the twrk70.

 

I have been failing miserably.

Even the trivial hello world application fails to build.

 

KDS 3.0.0 appears to be extremely picky about the exact order in which updates and features are installed and once you get them wrong, everything appears to need uninstalled, and several directories (~/.eclipse, ~/MyComponents, ~ProcessorExpert and anything left in /opt/Freescale/KDS 3.0.0) deleted of kruft, before there is any hope of re-installing and fixing.

 

The KDS instructions in MQX_KDS_Getting_Started.pdf do not work - atleast not for the twrk70f120m

Atleast not on my system

 

Is there some place where there is a proper order of installation of exactly what needs installed to atleast get "hello world" building ?

Labels (1)
1 Solution
1,848 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

Could you post an screenshot of the error you get while building the hello world application?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

View solution in original post

0 Kudos
Reply
6 Replies
1,849 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

Could you post an screenshot of the error you get while building the hello world application?

Thanks in advance!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply
1,848 Views
asmith
Contributor III

I will see what I can do

But I get a variety of different issues.

And the behavior is different from KDS 3.0.0 Windows and KDS 3.0.0 Debian

And as noted the order in which portions of the "install" are done and how clean things were when the process started appear critical.

It seems absolutely necescary to delete ~/.eclipse MyComponents, ProcessorExpert, and Opt/Freescale/KDS before installing KDS,

Then trying to use the update software from in KDS is fraught with difficulty.

I get frequent update errors under KDS Debian that do not occur when updating KDS windows.

Frequently it is unable to update some file because there is purportedly no file at that URL.

Your asking for one specific difference - when there are many differences/errors

0 Kudos
Reply
1,848 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

Your installation problems might be related with the linux distribution being used, please notice that KDS was only tested with Ubuntu 14.04 and  RedHat/Centos 7.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply
1,848 Views
asmith
Contributor III

My default Ubuntu is 14.04 which also does not work.

Atleast some of the issues seem to be specific to whatever Java is used, and mostly specific to trying to install the assorted updates and packages needed for MQX.

I can understand that Freescale might not have the resources to support every flavor Linux out there.

Mint, Ubuntu, and Debian are not only the top 3 distro's but very close to interchangeable.

Centos is currently the 7th ranked Linux Distro.

Regardless, of what you chose to support atleast limited testing accross multiple environments helps to improve the quality of your product.

Just as building an OS or application for multiple processors and architectures often exposes bugs and improves code quality.

I cross compile the embedded K70 application I work on, for Windows and Linux as well as MQX.

It helps weed out problems that are obvious in one context but hard to find in others.

0 Kudos
Reply
1,848 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

Thank you for your feedback about how to improve our products, we really appreciate it.

Regarding the problems when installing the updates, which updates are you trying to install? You will usually just need the "Processor Expert for Kinetis 3.0.1" update and the "MQX RTOS Task Aware Debugger for GDB". Please notice that Linux users need to launch KDS with root privileges when installing new plugins

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply
1,848 Views
asmith
Contributor III

Thank you.

Running KDS as root seems to have addressed the problem.