Is it possible to view memory information(stack, heap) while debugging the code in CW10.3?

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

Is it possible to view memory information(stack, heap) while debugging the code in CW10.3?

1,493 次查看
Embionics
Contributor III

I am new to codewarrior development studio.
In my project I am using freertos. I am facing some problems while allocating the memory to the tasks. Is there any possible way to view the memory resources(stack, heap etc.,) dynamically while debugging the code? Your information will be helpful for me

 

Regards,

Durgesh

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

1,089 次查看
BlackNight
NXP Employee
NXP Employee

Hi Durgesh,

not for the heap, and not in CodeWarrior.

For Eclipse/GDB (e.g. Kinetis Design Studio) there is a plugin to see the task information and queues. See

http://mcuoneclipse.com/2013/08/04/diy-free-toolchain-for-kinetis-part-5-freertos-eclipse-kernel-awa...

As for the heap, I use the approach to show it in my application/shell. As I don't know which heap problem you are facing, here are some other articles:

http://mcuoneclipse.com/2013/07/10/freertos-heap-with-segmented-kinetis-k-sram/

FreeRTOS, malloc() and SP check with GNU Tools | MCU on Eclipse

I hope this helps,

Erich