How Much RAM For MQX 3.8 Kernal Data?

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

How Much RAM For MQX 3.8 Kernal Data?

ソリューションへジャンプ
1,148件の閲覧回数
Tim562
Senior Contributor I

Hi All,

 

Can anyone tell me how to determine how much RAM is required for KERNAL_DATA with MQX 3.7 and a MPC5125? The Linker Command Files seem to provide an awful lot of RAM (avg 100MB out of 256MB) in the MQX examples. I'd like to shrink this amount to free up RAM for use by my data objects but I'm not sure how to determine how much is required.

 

Also, am I correct to assume that the memory allocated for the heap is taken from this RAM? Thanks!

 

~Tim

0 件の賞賛
返信
1 解決策
862件の閲覧回数
c0170
Senior Contributor III

Hi tim562,

 

Your assumption is right with the heap taken from RAM.

We checked MPC5125 linker command file and this issue is going to be fixed soon. You can correct it in the meantime.

Look at twrpxs20 linker command file where kernel data are put in the end of ram, start is not assigned to the specific address.

 

Regards,

MartinK

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
863件の閲覧回数
c0170
Senior Contributor III

Hi tim562,

 

Your assumption is right with the heap taken from RAM.

We checked MPC5125 linker command file and this issue is going to be fixed soon. You can correct it in the meantime.

Look at twrpxs20 linker command file where kernel data are put in the end of ram, start is not assigned to the specific address.

 

Regards,

MartinK

0 件の賞賛
返信
862件の閲覧回数
Tim562
Senior Contributor I

I see what your saying Kojto, thanks for the reply.

 

Best Regards,

~Tim

0 件の賞賛
返信