Task Stack @ location + some task stack usage questions

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

Task Stack @ location + some task stack usage questions

ソリューションへジャンプ
1,334件の閲覧回数
CarlFST60L
Senior Contributor II

Hi,

 

Some quick questions to help use fit more tasks into our already full MCF52259 based product:

 

1. How do I create a task with a stack in another location? Example, create a task that uses MRAM on the 52259evb as the stack space, and, have all the other tasks still runing on internal RAM space?

 

2. Apart from moving RAM varibles to MRAM, is there anything else 'obvious' I do to reduce the stack usage?

 

3. Does the TAD stack usage percentage show the maximum used stack, or, the current used stack?

 

0 件の賞賛
返信
1 解決策
858件の閲覧回数
CarlFST60L
Senior Contributor II

I have realised that there is a 'major' change to MQX3.6.0 from previous versions. There is no longer debug and release MQX, you have to build MQX with either release or debug! This is why I was using so much stack all of a sudden, it was set as debug and passing everything on stack.

 

I found this in the release notes after several hours head scratching

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
859件の閲覧回数
CarlFST60L
Senior Contributor II

I have realised that there is a 'major' change to MQX3.6.0 from previous versions. There is no longer debug and release MQX, you have to build MQX with either release or debug! This is why I was using so much stack all of a sudden, it was set as debug and passing everything on stack.

 

I found this in the release notes after several hours head scratching

0 件の賞賛
返信