Running a project s32ds project from example

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

Running a project s32ds project from example

2,002 Views
Anjalipurushothaman
Contributor III

s32ds 3.5 version

hardware :s32k3x8evb-q289

 

0 Kudos
4 Replies

1,874 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please describe how you opened the example project? For some reason - the project is still configured as C/C++ project for PC Machine. The correct way how to open an example is

New -> S32DS Project from Example: 

jiri_kral_0-1686315121586.png

 

jiri_kral_1-1686315186661.png

 

By default in Debug Configurations there is configuration for PE Micro OpenSDA and Segger j-link:

jiri_kral_2-1686315322104.png

 

 

 

 

 

0 Kudos

1,970 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

you are still trying execute target .elf file on your PC Machine. In your case you have Segger J-Link Debug probe. Choose Segger J-Link in Debug configurations: 

jiri_kral_0-1686221951839.png

 

And start Debug Session: 

jiri_kral_1-1686222011516.png

 

 

 

 

0 Kudos

1,964 Views
Anjalipurushothaman
Contributor III

i don't have external interface or software for Segger J-Link Debug , 

I uses open sda port on the Evaluation board to connect to my PC , While loading selecting the Segger J-Link Debug  Iam getting differebt error as attached.

 

Hradware - s32k3xEVB-Q289

 

0 Kudos

1,918 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Anjalipurushothaman 

If you use the onboard debugger when you go to Debug Configurations, you should try the GDB PEMicro Interface Debugging either by RAM or by FLASH. By choosing any of the above options, you do not have to make any changes to how it is configured by default, all you have to do is click the debug button.

0 Kudos