Dynamic module load in MQX

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

Dynamic module load in MQX

ソリューションへジャンプ
2,064件の閲覧回数
JBaker
Contributor I

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

0 件の賞賛
返信
1 解決策
1,235件の閲覧回数
DavidS
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

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

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

0 件の賞賛
返信
1,235件の閲覧回数
JBaker
Contributor I

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

0 件の賞賛
返信
1,235件の閲覧回数
JuroV
NXP Employee
NXP Employee

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.

0 件の賞賛
返信