MQX 4.2 Dynamic Memory Allocation

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

MQX 4.2 Dynamic Memory Allocation

555 Views
petermai
Contributor I

Hello everybody,

I am trying to find out how much data mqx is really using of its KERNEL memory in order to save memory.

After I write 0xFFFFF to my kernel area (0x3f04cae0 - 0x3f07fff0 ) all I see when pausing are some "stak (kats)" blocks within my kernel area 0x3f04cae0 - 0x3f07fff0 ).

==> How can I find out how much memory is really used by MQX? Can I somehow add the "kats" and the 0xFFFFFF addresses or is this the wrong way?

Thank you!

Tags (3)
0 Kudos
1 Reply

338 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Peter Mai 

I would suggest you take a look at the codesize demo in the MQX installation folder. The purpose of this demo is to analyze the MQX RTOS components of how much memory (ROM/RAM) they occupy to assist user in design of application.

Freescale_MQX_4_2\mqx\examples\benchmrk\codesize

I hope it helps.

Have a great day!

Regards

Daniel

------------------------------------------------------------------------------------------

If this post is helpful please click correct or helpful answer, thank you

0 Kudos