AnsweredAssumed Answered

SDK - MQX task stack limitation?

Question asked by Randy Hermes on Oct 7, 2015
Latest reply on Oct 12, 2015 by Randy Hermes

Working with:

KDS 3.0

SDK 1.2

MQX that comes with SDK.

TRW-K21F120M

PE Micro debugger connection

 

I'm using the USB driver for CDC.  With the default task stack of 3500 it causes the debugger to not retrieve MQX information.

For example MQX task and MQX task panes come back blank.

Doesn't appear to affect anything else.  For example _klog_show_stack_usage() still prints stack usage info.

If I decrease the stack size to <=2118, everything works fine.

 

I also found that if I make any other task stack >2118 the same thing happens.

I've stepped through task creation and haven't seen anything that should limit the stack size.

 

Anyone have any ideas on why this is happening?

Thanks

Randy

Outcomes