Task Stack @ location + some task stack usage questions

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

Task Stack @ location + some task stack usage questions

Jump to solution
1,264 Views
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 Kudos
Reply
1 Solution
788 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
789 Views
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 Kudos
Reply