How much RAM can be used by tasks in mqx ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How much RAM can be used by tasks in mqx ?

跳至解决方案
1,196 次查看
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 项奖励
回复
1 解答
1,054 次查看
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 项奖励
回复
2 回复数
1,054 次查看
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 项奖励
回复
1,055 次查看
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 项奖励
回复