SMP Freeze

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

SMP Freeze

815 Views
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

Labels (2)
0 Kudos
Reply
1 Reply

754 Views
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 Kudos
Reply