SMP Freeze

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

SMP Freeze

826 次查看
vishnuj
Contributor I

Hi,

I am trying to write a small RTOS stuff like thing in imx6q sabre-sd. With our code board is booted and running with single core. Now i am trying to bring up other cores.

Enabled the secondary core settings and now the secondary core starts booting, but freezing is happening at different place.

Seems the stack is running out, for the secondary core( not sure).

I wrote a dummy function which use 100 bytes of stack mem and called it iteratively from secondary core and caused freezing after 20- 40 calls.
Without that 100 bytes stack usage it is running without freezing. That's why i suspect the stack mem.

 

Any suggestions for the above issue?

Regards

Vishnu

标签 (2)
0 项奖励
回复
1 回复

765 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Vishnu

it may be useful to check attached sdk example, description can

be found in Chapter 3 Multicore Startup pdf document.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复