S32KDS Fails to use LDF file for LIN configuration

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

S32KDS Fails to use LDF file for LIN configuration

Jump to solution
1,966 Views
partis
Contributor III

Hi

I am creating a project with an S32K144 with the NXP supplied LIN stack and drivers. I have an LDF file, generated via export from NI XNet Database Editor, but S32DS gives a rather abrupt error of when trying to use it:

Issue: %error Error: BEV_LIN_File.ldf line: 91 "}"- Syntax Error...
Level: Error
Type: Tool problem
Tool: Peripherals
Origin: Peripherals
Resource: Sources
Information: %error Error: BEV_LIN_File.ldf line: 91 "}"- Syntax Error...

The line is a closing bracket for a "Node_attributes" section. I cant find any issues with the level of brackets or indeed any signs of an error within the file as a whole.

Is there a method of getting the S32DS tool to give a little more information on what it doesnt like to aid in finding this problem?

Kind regards

 

 

Gary Partis
0 Kudos
Reply
1 Solution
1,724 Views
DanNguyenDuy
NXP Employee
NXP Employee

Hi @partis,

Based on the your ldf file, I found some issues. You are missing some information as below:
  • The error signal that shall be published by the specified slave node.
  • The <attributes_def>  field in <Node_attributes>.
You can refer to Chapter 9 of LIN_Specification_2.2A.ldf to more detail.
Anyway, I updated the ldf file to fix all of them and sent back to you(Attached).
 
Best regards,
Dan

View solution in original post

0 Kudos
Reply
6 Replies
1,725 Views
DanNguyenDuy
NXP Employee
NXP Employee

Hi @partis,

Based on the your ldf file, I found some issues. You are missing some information as below:
  • The error signal that shall be published by the specified slave node.
  • The <attributes_def>  field in <Node_attributes>.
You can refer to Chapter 9 of LIN_Specification_2.2A.ldf to more detail.
Anyway, I updated the ldf file to fix all of them and sent back to you(Attached).
 
Best regards,
Dan
0 Kudos
Reply
1,717 Views
partis
Contributor III

Hi nxf78987

Many thanks for that.

Can you recommend a tool which allows the editing of this file via a "user friendly" GUI instead of a text editor, for use by our customer? We have used the National Instruments tool but generated LDFs which can not be used by the S32DS parser.

Kind regards

 

Gary Partis
0 Kudos
Reply
1,711 Views
DanNguyenDuy
NXP Employee
NXP Employee

Hi @partis,

I don't know any other tool that can work that.

Best regards,

Dan

0 Kudos
Reply
1,910 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I do not think S32DS gives you more info on the error.
Can you specify the S32DS and SDK/RTD version you are using?
Also are you able to share the LDF file you have?

BR, Petr

0 Kudos
Reply
1,900 Views
partis
Contributor III

Hello

I have attached an example LDF which fails to be read by S32DS. The versions are:

  • S32DS - Version: 3.4 Build id: 201217 (Update 3)
  • S32K144_SDK - v4.0.3
  • FreeMaster_S32K144 - 2.0.0 (not being used as far as I can see)
  • AMMCLIB - 1.1.22

I have tried different permutations of brackets, identifier lengths, etc; but to no avail. I am sure this is something obvious once I know

Kind regards

 

Gary Partis
0 Kudos
Reply
1,757 Views
partis
Contributor III

Bump

Gary Partis
0 Kudos
Reply