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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

473 Views
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 Kudos
3 Replies

328 Views
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

328 Views
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

328 Views
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 Kudos