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?

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

443件の閲覧回数
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