Lin_Master_S32K312 _Example_DS例程调试问题

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

Lin_Master_S32K312 _Example_DS例程调试问题

Jump to solution
2,086 Views
375456197
Contributor I

开发环境如下:

IDE:S32DS 3.5

RTD:4.0.0

LINStack:2.0.4

打开Lin_Master_S32K312 _Example_DS例程调试LIN功能,提示Description Resource Path Location Typefatal error: lin_stack_cfg.h: No such file or directory main.c/Lin_Master_S32K312_Example_DS/src line 30 C/C++ Problem

375456197_0-1747798163408.png

LIN21.ldf文件存在,stacks/lin/include路径下未生成任何文件。

请问开发环境是否存在问题?如何能正确运行这个例程?修改ldf文件并生成代码的配置工具是安装到了S32DS上还是需要另行安装(我的S32DS上找不到配置工具)?

Tags (1)
0 Kudos
Reply
1 Solution
1,904 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @375456197 

I am glad to hear that the project compiles without issues. Regarding how to modify the LIN21.ldf file, please refer to the following community thread. Although the discussion is focused on S32K1 devices, the process is similar for the S32K3.

How to Configure Lin Description file By S32DS 3.5

View solution in original post

0 Kudos
Reply
6 Replies
2,057 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @375456197 

I took a look at LIN STACK 2.0.4 version and it seems that the example code you mentioned is not included in this version.

VaneB_0-1747867113654.png

Would you mind double-checking which version you are currently using? That will help me make sure we are looking at the same setup and get you the right information.

 

BR, VaneB

0 Kudos
Reply
2,022 Views
375456197
Contributor I

我的核心问题就是如下图这样的LIN 协议配置界面是在哪里打开的?需要安装什么其他软件吗?

375456197_3-1747892303481.png

0 Kudos
Reply
2,027 Views
375456197
Contributor I

375456197_0-1747891182364.png

I have installed both 2.0.4 and 2.0.5

0 Kudos
Reply
2,003 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @375456197 

LIN STACK 2.0.5 has a dependency on the S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 5.0.0. Therefore, we cannot guarantee proper functionality with any other RTD versions.

To ensure the example project works correctly, please uninstall all other software packages and install only the specified versions mentioned above. From my side, the project builds successfully without any issues using these exact software versions.

0 Kudos
Reply
1,933 Views
375456197
Contributor I

Thank you for your help, Reinstall RTD and LIN STACK as you suggested,now the program does compile successfully. There is another question, I want to modify the LIN protocol, LIN21.ldf can be configured in S32DS? Or do I need to install additional software?

375456197_0-1748224128991.png

 

0 Kudos
Reply
1,905 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @375456197 

I am glad to hear that the project compiles without issues. Regarding how to modify the LIN21.ldf file, please refer to the following community thread. Although the discussion is focused on S32K1 devices, the process is similar for the S32K3.

How to Configure Lin Description file By S32DS 3.5

0 Kudos
Reply