How much RAM can be used by tasks in mqx ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How much RAM can be used by tasks in mqx ?

ソリューションへジャンプ
1,321件の閲覧回数
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,179件の閲覧回数
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,179件の閲覧回数
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,180件の閲覧回数
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 件の賞賛
返信