Running a project s32ds project from example

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Running a project s32ds project from example

2,028 次查看
Anjalipurushothaman
Contributor III

s32ds 3.5 version

hardware :s32k3x8evb-q289

 

0 项奖励
4 回复数

1,900 次查看
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 项奖励

1,996 次查看
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 项奖励

1,990 次查看
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 项奖励

1,944 次查看
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 项奖励