LLCE_LIN S32G-VNP-RDB2

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

LLCE_LIN S32G-VNP-RDB2

跳至解决方案
2,758 次查看
HuiLing
Contributor II

I want to implement the use of LLCE_LIN, I downloaded the LLCE firmware version 1.07, using the sample:

HuiLing_0-1702955977610.png

But I can't run, compile an error.

The original peripheral configurations are as follows:

HuiLing_1-1702956259755.png

The compilation error is as follows:

HuiLing_2-1702956347029.png

 

Error after adding missing set of header files:

HuiLing_0-1702962731377.png

What are the requirements and configurations for this project?

 

0 项奖励
回复
1 解答
2,682 次查看
HuiLing
Contributor II
Thank you very much for your help. I have solved it.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,709 次查看
HuiLing
Contributor II

hi@ Daniel-Aguirre

Due to this error:arm-none-eabi-gcc -o "Lin_Llce_DS_S32G274A_M7_2.elf" "@Lin_Llce_DS_S32G274A_M7_2.args"
e:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./src/Platform_Init.o: in function `PlatformInit':
E:\Users\workspaceS32DS.3.5\Lin_Llce_DS_S32G274A_M7_2\Debug_RAM/../src/Platform_Init.c:50: undefined reference to `Rm_Init'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:40: Lin_Llce_DS_S32G274A_M7_2.elf] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.

13:40:57 Build Failed. 2 errors, 0 warnings. (took 3s.747ms)

I added RM to the component,

HuiLing_0-1703051925233.png

HuiLing_1-1703051957007.png

Then I can go through the compile, but when debug appears in this place to hang up:

HuiLing_2-1703052043963.png

Do I need to add this RM component? If so, is this component not configured properly? How it should be configured; If not, how to solve the above error?

I hope to get your help, thank you!

Best Regards,HuiLing
 
 
0 项奖励
回复
2,689 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. The Rm component seems to be related to XRDC, which is a module dedicated to isolating resources. Since you only added it to the project, it might be that there was no resources configured for the specific domain.

As for compilation, we understand that there might have been some bugs under this specific example. Help us doing the following steps to understand if you are able to compile successfully:

1. Generate the code from Config Tools (no modifications up-to this point)

2. Modify the variable under the Mcu_Init function:

DanielAguirre_0-1703083275517.png

3. Comment all XRDC/Rm includes/functions:

DanielAguirre_1-1703083336921.png

...

DanielAguirre_2-1703083352051.png

4. As per the "description.txt" file under the example, add the required modules and delete the specific source file.

5. Delete the source file "generate/src/Clock_Ip_PBcfg.c"

With that, we are able to compile the example no problem:

DanielAguirre_3-1703083702758.png

Please, let us know.

0 项奖励
回复
2,683 次查看
HuiLing
Contributor II
Thank you very much for your help. I have solved it.
0 项奖励
回复
2,731 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For the last compilation error that you are seeing, it seems that the variant name was not updated correctly under the example. Help us change the function as follows:

DanielAguirre_0-1703012703566.png

Please, let us know.

0 项奖励
回复
2,710 次查看
HuiLing
Contributor II
Hi
Thanks for your help, the following errors have appeared after modification:
arm-none-eabi-gcc -o "Lin_Llce_DS_S32G274A_M7_2.elf" "@Lin_Llce_DS_S32G274A_M7_2.args"
e:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./src/Platform_Init.o: in function `PlatformInit':
E:\Users\workspaceS32DS.3.5\Lin_Llce_DS_S32G274A_M7_2\Debug_RAM/../src/Platform_Init.c:50: undefined reference to `Rm_Init'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:40: Lin_Llce_DS_S32G274A_M7_2.elf] Error 1
"make -j16 all" terminated with exit code 2. Build might be incomplete.

13:40:57 Build Failed. 2 errors, 0 warnings. (took 3s.747ms)
0 项奖励
回复