Debug views in KDS 3.0.0

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

Debug views in KDS 3.0.0

2,196件の閲覧回数
frankschuetz
Contributor I

Hello,

I use KDS 3.0.0 with TWR-K65F180M and KSDK 1.3.0. On debugging there are several  views to monitor internal of MQX.

My question is, some views show no information and less show a message like "MessagePool is not installed"(see screen attached). What is to do that I get these information. Is something to install on KDS or on software side on K65?

I have seen that the view for "MQX LightWheight Memory Pools" are available (see screen attached) but I use the MQX as in your example projects and I thinks (I'm sure) it is configured as MQX light weight. It is correct so as it is?

 

Another question is, I have seen that the "MQX LightWheight Memory Pools" show a size of 127,3KB. We use the internal RAM (256KB) only (no external RAM). I think that is a lot! I this the size what the MQX heap is used? When I use MQX-LightWheigt is it more less? How much do you think? Actually we have problems with the less memory heap with our application and want to save heap.

 

Thank you in advance!

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

2,080件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Frank,

Yes by default MQX is using lightweight memory pool.  This pool is the dynamic memory available to the RTOS and Application and is the heap.  By design once the RTOS has instantiated itself and global variables (and other static variables) have been defined SRAM location, the rest of memory gets allocated for heap.  Again by default.  If your application doesn't need all that space you can make the heap smaller in the linker file (going by memory).

The TAD (Task Aware Debugging) will display stuff for RTOS features that are enabled and not for features that are disabled.

Hope this helps.

Regards,

David

0 件の賞賛
返信