How to debug IPCF multi-core projects by using S32 Debug Probe?

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

How to debug IPCF multi-core projects by using S32 Debug Probe?

Jump to solution
450 Views
longtengqiufeng1
Contributor III

Hi,

I want use S32 Debug Probe to debug the IPCF examples, IPCF_Example_multi_instance_S32G274_M7_0 and IPCF_Example_multi_instance_S32G274_M7_1.

I can debug the M7_0 example single,but I can't debug  M7_0 example and M7_1 example together.

S32DS version is 3.4.3

IPCF version is SW32G_IPCF_4.6.0_D2205

The configurations and errors are below:

IPCF_m7_0:

longtengqiufeng1_0-1690187758608.png

longtengqiufeng1_1-1690187796875.png

longtengqiufeng1_2-1690187967890.png

longtengqiufeng1_3-1690188007006.png

longtengqiufeng1_4-1690188186188.png

longtengqiufeng1_5-1690188323855.png

and the error is

longtengqiufeng1_0-1690188588070.png

 

Does anyone have any idea what I am doing wrong here?

Thanks so much.

 

0 Kudos
1 Solution
431 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For the multicore debugging, you need to already have a debug session running under the main core (we will assume M7_0). This is started as a normal debug session, which is similar to the one provided on the available examples (we will use the Siul2_Dio_ToggleLed_S32G274A_M7 example) with a different script, as shown below:

DanielAguirre_0-1690223444353.png

We use the "all_cores" script, to initialize the cores on the platform. Then, under the secondary core (we will assume M7_1), we modify the debug session to be as follows:

DanielAguirre_1-1690223508169.png

With this, we are able to see that both cores toggle the configured pin on their corresponding side:

DanielAguirre_2-1690223698946.png

We are showing the toggle example, since we recommend starting from an easier example.

Please, let us know.

 

View solution in original post

1 Reply
432 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For the multicore debugging, you need to already have a debug session running under the main core (we will assume M7_0). This is started as a normal debug session, which is similar to the one provided on the available examples (we will use the Siul2_Dio_ToggleLed_S32G274A_M7 example) with a different script, as shown below:

DanielAguirre_0-1690223444353.png

We use the "all_cores" script, to initialize the cores on the platform. Then, under the secondary core (we will assume M7_1), we modify the debug session to be as follows:

DanielAguirre_1-1690223508169.png

With this, we are able to see that both cores toggle the configured pin on their corresponding side:

DanielAguirre_2-1690223698946.png

We are showing the toggle example, since we recommend starting from an easier example.

Please, let us know.