S32G274 FreeRTOS_SMP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32G274 FreeRTOS_SMP

837件の閲覧回数
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 件の賞賛
返信
1 返信

818件の閲覧回数
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 件の賞賛
返信