How to configure S32 project for debugging with OpenSDA on all cores?

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

How to configure S32 project for debugging with OpenSDA on all cores?

Jump to solution
985 Views
michaelbinz
Contributor III

We created a project for the mpc5748g in S32 DS and followed the instructions in this thread.

This worked fine for a single core as described in the guide.

Then we created a similar project, this time for the three cores of the processor.  This resulted in one project per core.

pastedImage_3.png

The problem is that we can only define the debugger for the ..._Z4_0 project.  For the _Z2 and Z4_1 projects the necessary combo box is disabled

pastedImage_4.png

Our first thought was that the debugger setting is inherited from the Z4_0 project. But while we can debug core Z4_0 using OpenSDA, this does not work for Z2. A debugging attempt ends with

pastedImage_8.png

What has to be done to be able to debug on all cores using OpenSDA?

0 Kudos
1 Solution
769 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you may find helpful this HOWTO: debug multi-core project in S32 Design studio 

Basically - Boot core - Z4 - starts GDB server and OpenSDA connection, other Z7 cores are attaching to this server:

Boot core: 

pastedImage_2.png

Other cores: 

pastedImage_3.png

Hope it helps. 

Jiri

View solution in original post

0 Kudos
1 Reply
770 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you may find helpful this HOWTO: debug multi-core project in S32 Design studio 

Basically - Boot core - Z4 - starts GDB server and OpenSDA connection, other Z7 cores are attaching to this server:

Boot core: 

pastedImage_2.png

Other cores: 

pastedImage_3.png

Hope it helps. 

Jiri

0 Kudos