Debug views in KDS 3.0.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Debug views in KDS 3.0.0

1,465 次查看
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 回复

1,349 次查看
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 项奖励
回复