Is there a way to generate LIN code for modified/updated LDF for S32 Design Studio for ARM (s32k1xx) lin slave example
Hi,
you can easily load new LDF file into LIN stack component. The file should be copied into the project directory. Then LDF file is selected within "Network Configuration" tab. The LDF file is automatically parsed and its contents is reflected to LIN Slack component GUI. You can do modification of the parameters in the GUI's tabs and changes are automatically saved into the selected LDF file. "Validation of changes .." message is displayed in Progress bar or window.
The Reload button can be useful if you modify LDF file in S32DS text editor as other source file. After you save the file after Reload is pressed new contents is reflected in the LIN Slack component GUI.
After PE code is generated the node configuration files (lin_cfg.h and lin_cfg.c), that are needed for LIN Stack, are updated based on LDF file.
BR, Petr
Hi Petr,
Thanks for reply,
Iam able to updated/modified LDF and generate lin_cfg.h and lin_cfg.c files, But I was unable to test B0-B7 services even after enabling the transport layer and diagnostic services, can you please help me how to verify B0-B7 and UDS services. Find the below pictures for reference. If possible provide me the sample project where I can refer and validate the same.
Thanks in advance,
Hi,
some LIN slave demo was given in
https://community.nxp.com/t5/S32K/S32K-SDK-LIN-Stack-not-working-properly-with-UDS/m-p/1313360#M1144...
BR, Petr