SDK - MQX task stack limitation?

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

SDK - MQX task stack limitation?

563 Views
randyhermes
Contributor III

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

Labels (1)
0 Kudos
2 Replies

312 Views
danielchen
NXP TechSupport
NXP TechSupport

HI Randy:

Do you mean MQX TAD not show any information when stack size > 2118?

Regards

Daniel

0 Kudos

312 Views
randyhermes
Contributor III

Hi Daniel,

Assuming TAD is Task Aware Debugging; Yes, no information shows up when any task stack size > 2118.

This includes MQX Task view and MQX stack view in KDS 3.0.

Thanks,

Randy

0 Kudos