AnsweredAssumed Answered

SMP Freeze

Question asked by vishnu j on Sep 7, 2016
Latest reply on Sep 7, 2016 by igorpadykov

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

Outcomes