S32G274 FreeRTOS_SMP

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

S32G274 FreeRTOS_SMP

852 Views
Wanyj
Contributor I

Hello everyone, I am using the SMP function of FreeRTOS on S32G274. When debugging with Lauterbach, I can correctly start M7-0 and M7_1 cores in two windows. However, if I burn the compiled bin file to the development board, I found out through printing that I only started M7-0 core。

Wanyj_2-1743588285556.png

 

I don't understand how the program can enter the main function through M7_1 core for the second time to start xPortStartScheduler ();

Wanyj_1-1743588165601.png

 

Wanyj_0-1743588140602.png

I am using the official demo provided. How can I boot M7_1 core to execute tasks? I hope to receive an answer. Thank you

0 Kudos
Reply
1 Reply

833 Views
Joey_z
NXP Employee
NXP Employee

hi,Wanyj

Thank you for contacting us.

You can try modifying vTaskCoreAffinitySet() function to use  M7_1 core to execute tasks as the following picture.

Joey_z_0-1743651651361.png

then, add print to test it.

Joey_z_1-1743651664054.png

BR

Joey

 

 

0 Kudos
Reply