SMP Freeze

cancel
Showing results for 
Search instead for 
Did you mean: 

SMP Freeze

168 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
1 Reply

107 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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