MQX Memory Mapping

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

MQX Memory Mapping

Jump to solution
1,479 Views
richdinoso
Contributor I

Hello,

I am trying to understand where MQX memory is allocated.

My .map file is attached.

When I display the MQX highwater mark with the function _mem_get_highwater(), I get 2002F44F, and that is between the heap and stack shown in my .Map file. Where are the task stacks, semaphores, message boxes, etc allocated? And how do I determine and adjust the size of that memory?

 

Thank you.

--- Richard

 

0 Kudos
Reply
1 Solution
1,430 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi :

 

_mem_get_highwater:  Gets the highest memory address that has been allocated in the default memory pool.

For the heap and stack size and location,  we need to check the compile tool doc.

For the semaphore , stack, and heap address, you can check the MQX TAD tool

 

 

Regards

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
1,431 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi :

 

_mem_get_highwater:  Gets the highest memory address that has been allocated in the default memory pool.

For the heap and stack size and location,  we need to check the compile tool doc.

For the semaphore , stack, and heap address, you can check the MQX TAD tool

 

 

Regards

Daniel

0 Kudos
Reply