Error While using S32K14 AutoSAR OS in TresOS

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

Error While using S32K14 AutoSAR OS in TresOS

2,410 次查看
sandipta_mohan1
Contributor I

I installed tresos Studio 23.0 , Autosar OS(SW32K14-OS401-RTM-1.0.0 b4.0.98)  and Autosar MCAL(SW32K14-MCAL401-RTMC-1.0.4).

But when I try to generate OS configuration file(.c,.h), it gives the following 3 error:

1.The external generator for module Os_TS_T40D2M4I0R98 terminated with exit code 7
Used generator commandline: C:\EB\tresos\plugins\Os_TS_T40D2M4I0R98\ssc\bin\generator\sg.exe

2.Failed to run generator "Os_TS_T40D2M4I0R98GeneratorId" (mode: "verify") for module "Os_TS_T40D2M4I0R98"

3. Error in external generator: C:\EB\tresos\workspace\oooooll\output\generated\epc\project.epc(1816) AUTOSAR/AR-PACKAGES/AR-PACKAGE[SHORT-NAME='Os']/ELEMENTS/ECUC-MODULE-CONFIGURATION-VALUES[SHORT-NAME='Os']/CONTAINERS/ECUC-CONTAINER-VALUE[SHORT-NAME='Task_Environ']/REFERENCE-VALUES/ECUC-REFERENCE-VALUE[DEFINITION-REF='/TS_T40D2M4I0R98/Os/OsTask/OsTaskEventRef']: 3254: Multiplicity check error for 'VALUE-REF'
Used generator commandline: C:\EB\tresos\plugins\Os_TS_T40D2M4I0R98\ssc\bin\generator\sg.exe

I want to what's the problem reason? and how to resolve it? 

Thanks.

标记 (2)
0 项奖励
回复
4 回复数

320 次查看
TianciCao
Contributor I

My AUTOSAR OS is 4.0.98 ,EB is 21.0.0,try above these answers,not to solve it , but I try to uninstall 21.0.0 then install EB 24.0.1 is not show the two errors.

0 项奖励
回复

310 次查看
TianciCao
Contributor I

Oh,Sorry,above answer can't to solve this problem .With the help of my master, we have tried multiple times and found that the JRE environment has not been installed

0 项奖励
回复

590 次查看
mohamedD
Contributor I

I have the same problem. Can you please help me resolve it?

mohamedD_0-1712581145660.png

 

0 项奖励
回复

2,346 次查看
hungnguyenphi
NXP Employee
NXP Employee

Hello Sandipta Mohanty ,

It seem that you haven't added the value for the OsTaskEvenRef in the configuration. Could you please try to add it.

pastedImage_1.png

Note that user also need to add atleast one element in the OsEvent to make the list show in the OsTaskEvenRef

pastedImage_2.png

Best regards,

Hung.

0 项奖励
回复