How to know that how much stack size occupied by my tasks

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to know that how much stack size occupied by my tasks

1,191 次查看
utsavikalpesh
Contributor V

Hi,

I am working on Code warrior v10.2 and of MQX v4.0.

I want to know that how much stack size occupied by my task.

In my current task

0 项奖励
回复
3 回复数

1,046 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Utsavi Kalpesh Bharuchwala,


there is a special tool for task stack size information called Task Aware Debugging Plug-in (TAD).

The tool provides you information about Stack Base, Stack Limit, Stack Used, % Used and Overflow to specific task.


Is it available for your version, CodeWarrior v10.2.


You can look e.g. http://cache.freescale.com/files/soft_dev_tools/doc/support_info/FSL_MQX_Getting_Started.pdf page 15


I hope it helps,

Iva

1,046 次查看
utsavikalpesh
Contributor V

Hi Iva

I am sorry, By mistaken this Discussion was posted 2 times.I have already got the ans from How to know that how many stack size is occupied by threads

Regards,

utsavi

1,046 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Utsavi Kalpesh Bharuchwala.

That is ok. I did not notice it.

The main thing is that you solved the problem.

Best Regards,

Iva

0 项奖励
回复