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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

841 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Reply

437 Views
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