Error While using S32K14 AutoSAR OS in TresOS

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

Error While using S32K14 AutoSAR OS in TresOS

1,878 Views
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.

Tags (2)
0 Kudos
2 Replies

58 Views
mohamedD
Contributor I

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

mohamedD_0-1712581145660.png

 

0 Kudos

1,814 Views
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 Kudos