Hi, I am evaluating the MPC5125 (I only started this year) and am trying to determine whether to use Linux or MQX on the device.
The reason for using Linux is that we already have the code running under both Linux and Windows, but running an RTOS like MQX would have significant advantages.
The code is currently organised into a main program that loads up dll's/so's for i/o control dependant on a configuration file. This allows more than one instance of a dll/so to be loaded up or a different dll/so to be loaded dependant on device location within the system, without program changes.
The question is; Can you dynamically load modules (dll/so style) in MQX as per Windows dlls and Linux so's and if so, what technique is best to do this?
Sorry if this is an obvious question. Thanks in advance for any help.
James
Solved! Go to Solution.
Hi James,
Currently FSLMQX is not supporting dynamic loading of applications. It is good at dynamically changing data files, log files, web files, etc... but not applications.
I think it possible but we just haven't evolved to that stage yet.
Regards,
David
Hi James,
Currently FSLMQX is not supporting dynamic loading of applications. It is good at dynamically changing data files, log files, web files, etc... but not applications.
I think it possible but we just haven't evolved to that stage yet.
Regards,
David
Thanks David. I may be able to change the implementation to get round this, especially as it looks like it will load faster than a linux based system. Will just have to compile the modules all in I guess. Cheers James
Hi JBaker,
MQX RTOS is not self-hosting operating system. You can workaround that, but there are not plans to add this mechanism to MQX as it also brings a lot of security issues.