S32G LLCE FlexRay

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

S32G LLCE FlexRay

Jump to solution
218 Views
dantaki
Contributor II

I am trying to test out LLCE FlexRay on a S32G-VNP-RDB2 with the S32G274A SOC. I am trying to do a similar test to this post. I am using this LLCE FR example:

dantaki_0-1710446714371.png

I have changed the pins to be what is on the RDB2 board (PL_01, PL_02, PL_03).
However, I am getting the below compilation error. I get this error also when I leave the example as is, generate driver code, and then try to build the project.

make -j8 all 
Building file: ../src/Llce_Firmware_Load.c
Building file: ../src/main.c
Building file: ../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Llce_Firmware_Load.args" -MMD -MP -MF"src/Llce_Firmware_Load.d" -MT"src/Llce_Firmware_Load.o" -o "src/Llce_Firmware_Load.o" "../src/Llce_Firmware_Load.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Llce_Firmware_Load.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c"
Building file: ../generate/src/Clock_Ip_Cfg.c
Building file: ../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Clock_Ip_Cfg.d" -MT"generate/src/Clock_Ip_Cfg.o" -o "generate/src/Clock_Ip_Cfg.o" "../generate/src/Clock_Ip_Cfg.c"
Building file: ../generate/src/Fr_43_LLCE_VS_0_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.d" -MT"generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o" -o "generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o" "../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c"
In file included from ../src/Llce_Firmware_Load.c:47:
Invoking: Standard S32DS C Compiler
C:/src/s32g_flexray_bringup/s32g_studio_workspace/FR_llce_ExternalCommunication_node1_S32G274A_M7/include/Llce_Firmware_Load.h:49:10: fatal error: StandardTypes.h: No such file or directory
arm-none-eabi-gcc "@generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Fr_43_LLCE_VS_0_PBcfg.d" -MT"generate/src/Fr_43_LLCE_VS_0_PBcfg.o" -o "generate/src/Fr_43_LLCE_VS_0_PBcfg.o" "../generate/src/Fr_43_LLCE_VS_0_PBcfg.c"
   49 | #include "StandardTypes.h"
Building file: ../board/Siul2_Port_Ip_Cfg.c
      |          ^~~~~~~~~~~~~~~~~
Invoking: Standard S32DS C Compiler
compilation terminated.
arm-none-eabi-gcc "@board/Siul2_Port_Ip_Cfg.args" -MMD -MP -MF"board/Siul2_Port_Ip_Cfg.d" -MT"board/Siul2_Port_Ip_Cfg.o" -o "board/Siul2_Port_Ip_Cfg.o" "../board/Siul2_Port_Ip_Cfg.c"
../generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.c:47:10: fatal error: StandardTypes.h: No such file or directory
   47 | #include "StandardTypes.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:23: src/Llce_Firmware_Load.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [generate/src/subdir.mk:29: generate/src/Clock_Ip_BOARD_InitPeripherals_PBcfg.o] Error 1
../generate/src/Clock_Ip_Cfg.c:48:10: fatal error: StandardTypes.h: No such file or directory
   48 | #include "StandardTypes.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
../src/main.c:26:10: fatal error: Mcu.h: No such file or directory
   26 | #include "Mcu.h"
      |          ^~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:29: generate/src/Clock_Ip_Cfg.o] Error 1
In file included from ../generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.c:43:
C:/src/s32g_flexray_bringup/s32g_studio_workspace/FR_llce_ExternalCommunication_node1_S32G274A_M7/generate/include/Flexray_43_LLCE_Ip_Cfg.h:46:10: fatal error: Mcal.h: No such file or directory
   46 | #include "Mcal.h"
      |          ^~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:23: src/main.o] Error 1
make: *** [generate/src/subdir.mk:29: generate/src/Flexray_43_LLCE_Ip_VS_0_PBcfg.o] Error 1
../generate/src/Fr_43_LLCE_VS_0_PBcfg.c:44:10: fatal error: Fr_43_LLCE.h: No such file or directory
   44 | #include "Fr_43_LLCE.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:29: generate/src/Fr_43_LLCE_VS_0_PBcfg.o] Error 1
In file included from ../board/Siul2_Port_Ip_Cfg.c:43:
../board/Siul2_Port_Ip_Cfg.h:46:10: fatal error: S32G274A_SIUL2.h: No such file or directory
   46 | #include "S32G274A_SIUL2.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [board/subdir.mk:29: board/Siul2_Port_Ip_Cfg.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

13:00:30 Build Failed. 15 errors, 0 warnings. (took 491ms)

I can also see errors in the peripherals configuration which I assume are related:

dantaki_1-1710446854300.png

 

Thanks in advance for the help.

0 Kudos
1 Solution
69 Views
dantaki
Contributor II

Following up on this. The above worked for me.

  1. Installed S32 Design Studio 3.5
    1. https://www.nxp.com/design/design-center/software/development-software/s32-design-studio-ide/s32-des...
    2. dantaki_0-1714514038215.png

       

  2. Installed S32 Real-Time Drivers Version 4.0.2
    1. https://nxp.flexnetoperations.com/control/frse/product?child_plneID=832137 
      1. Download the updatesite.zip
      2. Add the updateside to S32 Design Studio and install from there.
      3. Also download, run, install, the .exe as it puts the files in the C:/NXP/ folder which is where the linker looks at by default.
  3. Installed S32G_LLCE_1.0.7
    1. https://nxp.flexnetoperations.com/control/frse/product?child_plneID=802837 
    2. Also download, run, install, the .exe as it puts the files in the C:/NXP/ folder which is where the linker looks at by default.

View solution in original post

0 Kudos
2 Replies
70 Views
dantaki
Contributor II

Following up on this. The above worked for me.

  1. Installed S32 Design Studio 3.5
    1. https://www.nxp.com/design/design-center/software/development-software/s32-design-studio-ide/s32-des...
    2. dantaki_0-1714514038215.png

       

  2. Installed S32 Real-Time Drivers Version 4.0.2
    1. https://nxp.flexnetoperations.com/control/frse/product?child_plneID=832137 
      1. Download the updatesite.zip
      2. Add the updateside to S32 Design Studio and install from there.
      3. Also download, run, install, the .exe as it puts the files in the C:/NXP/ folder which is where the linker looks at by default.
  3. Installed S32G_LLCE_1.0.7
    1. https://nxp.flexnetoperations.com/control/frse/product?child_plneID=802837 
    2. Also download, run, install, the .exe as it puts the files in the C:/NXP/ folder which is where the linker looks at by default.
0 Kudos
189 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you help us confirm which RTD/LLCE/IDE version are you using? We seem to understand that you have the following versions:

  • RTD v4.0.0
  • LLCE v1.0.7
  • IDE S32DS v3.5

But we would like confirmation. If the above is true, then there seems to be a mistake on regards of the RTD + LLCE bundle. The following is told under the LLCE-FW v1.0.7 release notes:

DanielAguirre_0-1710513157346.png

For which RTD v4.0.2 should be used instead.

Please, let us know.

0 Kudos