Find available SRAM memory

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

Find available SRAM memory

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

Hello all,

 

I´m using Coldfire MCF52258AG80 hardware with MQX 3.4 (planning to upgrade).

 

My question is:

 

¿Is it possible to find how much static RAM (SRAM) memory my program (together with MQX) is consuming?

 

That is, counting MQX memory, global, static and stack variables, tasks stack size, dynamically allocated variables, etc. Everything.

 

Because I need to know if certain functionality which I need to add fits into SRAM.

 

Thank you in advance,,

 

David.

 

0 件の賞賛
返信
1 解決策
986件の閲覧回数
dvacasp
Contributor I

Hi David,

 

thanks for your answer.

 

I´m using CW 5.9.0 and MQX 3.4, so I think I need to upgrade to use TAD.

 

Regards,

 

David.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
986件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi David,

If you have the CW professional you have access to the TAD (Task Aware Debugging) that allows you to see the head (SRAM) useage.  You simple run your application and halt/stop/break at some point to allow the debugger to upload the information and display it

Look at the following PDF in the MQX path starting on page 50 for some of the TAD features.

Freescale MQX3.7\doc\FSL_MQX_3_7_in_CW_10_1.pdf 

 

Hope this helps.

Regards,

David

 

0 件の賞賛
返信
987件の閲覧回数
dvacasp
Contributor I

Hi David,

 

thanks for your answer.

 

I´m using CW 5.9.0 and MQX 3.4, so I think I need to upgrade to use TAD.

 

Regards,

 

David.

0 件の賞賛
返信