SDK - MQX task stack limitation?

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

SDK - MQX task stack limitation?

1,168件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

917件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

HI Randy:

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

Regards

Daniel

0 件の賞賛
返信

917件の閲覧回数
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 件の賞賛
返信