How much RAM can be used by tasks in mqx ?

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

How much RAM can be used by tasks in mqx ?

Jump to solution
477 Views
handychandra
Contributor III

Hi,

How much RAM is used by mqx initially ? and how do i know the amount of RAM left to be used by tasks ? I am using kinetis K60 in this case.

0 Kudos
1 Solution
335 Views
danielchen
NXP TechSupport
NXP TechSupport

.As a reference here is a sample footprint:

  -Basic MQX: 20k Flash and 3k RAM

-MQX with 1 user task: 23k Flash and 5k RAM

-RTCS (TCPIP Stack) Enabled Adds: 40k Flash and 20k

-RAM Telnet Adds: 24k Flash and 3k RAM

-WebServer Adds: 33k Flash and 6k RAM You could find more details in the folder in the benchmark project results. They can be found in the folder: C:\Program Files\Freescale\Freescale MQX 4.0\mqx\examples\benchmrk\codesize\reports\

View solution in original post

0 Kudos
2 Replies
335 Views
danielchen
NXP TechSupport
NXP TechSupport

you can optimize the stack usage of each task by configuring a stack size for each task in such a way that for example 95 % of a task’s stack would be used under full application load (worst case stack usage by your application).

0 Kudos
336 Views
danielchen
NXP TechSupport
NXP TechSupport

.As a reference here is a sample footprint:

  -Basic MQX: 20k Flash and 3k RAM

-MQX with 1 user task: 23k Flash and 5k RAM

-RTCS (TCPIP Stack) Enabled Adds: 40k Flash and 20k

-RAM Telnet Adds: 24k Flash and 3k RAM

-WebServer Adds: 33k Flash and 6k RAM You could find more details in the folder in the benchmark project results. They can be found in the folder: C:\Program Files\Freescale\Freescale MQX 4.0\mqx\examples\benchmrk\codesize\reports\

0 Kudos