STACK

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

STACK

1,433件の閲覧回数
zaccar
Contributor I

hello, I'm working M52259DEMOKIT evaluation board, I have a doubt regarding creation of tasks using the MQX 3.3 Operating System and codewarrior. How to calculate the stack size of the task that I perform?

 

TCP sockets can be programmed to the operating system for communication?, Where can I find information?

because I do a Java application on a computer, and that it must communicate with the evaluation board M52259DEMOKIT 

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

745件の閲覧回数
tkvenki
Contributor III

I will try to answer the first part of your question.

 

1. Fill your stack with some known values ....say ..0xEF

2. Allocate maximum stack for your task

3. Run your task, for maximum stack coverage...make sure it performs it's best(worst case).

4. open the stack window and check how much 0xEF's are erased...

5. This will give you an idea of, how much stack is required, for your task..

 

Hope this helps

0 件の賞賛
返信