S32G3 MultiCore Application Error

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

S32G3 MultiCore Application Error

780 Views
MohamedAbdelslam
Contributor III

Hi experts,
I have my own application on M7 core. Then I am going to integrate IPCF upon my app, so i've followed the example description of IPCF_FreeRTOS_M7-0, but when come to start M7 core command 'startm7 0x34500400' , it got stuck and cannot proceed with boot step. 
So my question is how to run multicore application on S32G3? Is there any guide or example to do that? or such bootloader example?

Tags (1)
0 Kudos
Reply
3 Replies

759 Views
Joey_z
NXP Employee
NXP Employee

hi,MohamedAbdelslam

Did you modify the IPCF_FreeRTOS_S32G399A_M7_0 demo program? If so, 0x34500400 will be changed and the startm7 command will need to be modified. Look at the IPCF_FreeRTOS_S32G399A_M7_0.map file and change the startm7 0x34500400 address to your own.

Joey_z_0-1732010396092.png

 

Hope it can help you.

 

BR

Joey

0 Kudos
Reply

745 Views
MohamedAbdelslam
Contributor III

Hi @Joey_z  
Thanks for your support. The address (.intc_vector) of the start m core has not been changed. 
I modified the example which I have added a CAN driver logic to send some CAN frames using Free RTOS, so this code should initialize the clock. But when I am commenting the Clock initialization line, the A core can boot normally (but this will ruin the can driver work). 
-What are your recommendations to troubleshoot this issue?
-Normally how to create multicore application on S32G3 board?
-Should I follow the document ''Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration''?  

Tags (1)
0 Kudos
Reply

725 Views
Joey_z
NXP Employee
NXP Employee

hi,MohamedAbdelslam

Thank you for your letter.
1.If you add A CAN clock to the M core, and the A core is stuck at startup, this should be the M core and the A core initialization conflict, I think you should check the initialization content of the A core, uninitialize the CAN clock in the A core.
2.For reference on multi-core applications you can refer to the IPCF driver's instructions to use it.

3.Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration can be referenced, but pay attention to the version of the software package.

Hope it can help you.

BR

Joey

0 Kudos
Reply