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

5,033 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
Reply
5 Replies

2,943 Views
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 Kudos
Reply

2,933 Views
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 Kudos
Reply

3,213 Views
mohamedD
Contributor I

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

mohamedD_0-1712581145660.png

 

0 Kudos
Reply

4,969 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
Reply

382 Views
MySterio_1
Contributor I

@sandipta_mohan1  did you solved this problem?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1079360%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EError%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079360%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3EI%20installed%26nbsp%3Btresos%20Studio%2023.0%20%2C%20Autosar%20OS(SW32K14-OS401-RTM-1.0.0%20b4.0.98)%26nbsp%3B%20and%26nbsp%3BAutosar%20MCAL(SW32K14-MCAL401-RTMC-1.0.4).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CSPAN%3EBut%20when%20I%20try%20to%20generate%20OS%20configuration%20file(.c%2C.h)%2C%20it%20gives%20the%20following%203%20error%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CSPAN%3E1.The%20external%20generator%20for%20module%20Os_TS_T40D2M4I0R98%20terminated%20with%20exit%20code%207%3CBR%20%2F%3EUsed%20generator%20commandline%3A%20C%3A%5CEB%5Ctresos%5Cplugins%5COs_TS_T40D2M4I0R98%5Cssc%5Cbin%5Cgenerator%5Csg.exe%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CSPAN%3E2.Failed%20to%20run%20generator%20%22Os_TS_T40D2M4I0R98GeneratorId%22%20(mode%3A%20%22verify%22)%20for%20module%20%22Os_TS_T40D2M4I0R98%22%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CSPAN%3E3.%26nbsp%3BError%20in%20external%20generator%3A%20C%3A%5CEB%5Ctresos%5Cworkspace%5Coooooll%5Coutput%5Cgenerated%5Cepc%5Cproject.epc(1816)%20AUTOSAR%2FAR-PACKAGES%2FAR-PACKAGE%5BSHORT-NAME%3D'Os'%5D%2FELEMENTS%2FECUC-MODULE-CONFIGURATION-VALUES%5BSHORT-NAME%3D'Os'%5D%2FCONTAINERS%2FECUC-CONTAINER-VALUE%5BSHORT-NAME%3D'Task_Environ'%5D%2FREFERENCE-VALUES%2FECUC-REFERENCE-VALUE%5BDEFINITION-REF%3D'%2FTS_T40D2M4I0R98%2FOs%2FOsTask%2FOsTaskEventRef'%5D%3A%203254%3A%20Multiplicity%20check%20error%20for%20'VALUE-REF'%3CBR%20%2F%3EUsed%20generator%20commandline%3A%20C%3A%5CEB%5Ctresos%5Cplugins%5COs_TS_T40D2M4I0R98%5Cssc%5Cbin%5Cgenerator%5Csg.exe%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20background-color%3A%20%23ffffff%3B%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20style%3D%22background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%22%3EI%20want%20to%20what's%20the%20problem%20reason%3F%20and%20how%20to%20resolve%20it%3F%26nbsp%3B%3C%2FP%3E%3CP%20style%3D%22background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%22%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2352324%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2352324%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F149532%22%20target%3D%22_blank%22%3E%40sandipta_mohan1%3C%2FA%3E%26nbsp%3B%20did%20you%20solved%20this%20problem%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1899386%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1899386%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EOh%EF%BC%8CSorry%EF%BC%8Cabove%20answer%20can't%20to%20solve%20this%20problem%20.With%20the%20help%20of%20my%20master%2C%20we%20have%20tried%20multiple%20times%20and%20found%20that%20the%20JRE%20environment%20has%20not%20been%20installed%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1898287%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1898287%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMy%20AUTOSAR%20OS%20is%204.0.98%20%EF%BC%8CEB%20is%2021.0.0%EF%BC%8Ctry%20above%20these%20answers%2Cnot%20to%20solve%20it%20%2C%20but%20I%20try%20to%20uninstall%2021.0.0%20then%20install%20EB%2024.0.1%20is%20not%20show%20the%20two%20errors.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1842439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1842439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EI%20have%20the%20same%20problem.%20Can%20you%20please%20help%20me%20resolve%20it%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mohamedD_0-1712581145660.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mohamedD_0-1712581145660.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F272517i01FD0F980277F6EB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mohamedD_0-1712581145660.png%22%20alt%3D%22mohamedD_0-1712581145660.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1079361%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Error%20While%20using%20S32K14%20AutoSAR%20OS%20in%20TresOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1079361%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20_jive_internal%3D%22true%22%20class%3D%22%22%20data-content-finding%3D%22Community%22%20data-userid%3D%22361621%22%20data-username%3D%22sandipta.mohanty212%40gmail.com%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fpeople%2Fsandipta.mohanty212%40gmail.com%22%20style%3D%22color%3A%20%233d9ce7%3B%20background-color%3A%20%23ffffff%3B%20border%3A%200px%3B%20font-weight%3A%20600%3B%20text-decoration%3A%20none%3B%20font-size%3A%2011.9994px%3B%22%20target%3D%22_blank%22%3ESandipta%20Mohanty%3C%2FA%3E%3CSPAN%20style%3D%22color%3A%20%23646464%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIt%20seem%20that%20you%20haven't%20added%20the%20value%20for%20the%20OsTaskEvenRef%20in%20the%20configuration.%20Could%20you%20please%20try%20to%20add%20it.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_1.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F115085i75F2082A1AA5F3FC%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_1.png%22%20alt%3D%22pastedImage_1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENote%20that%20user%20also%20need%20to%20add%20atleast%20one%20element%20in%20the%20OsEvent%20to%20make%20the%20list%20show%20in%20the%26nbsp%3B%3CSPAN%3EOsTaskEvenRef%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_2.png%22%20style%3D%22width%3A%20891px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F115086i9583B39D42CDE24F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_2.png%22%20alt%3D%22pastedImage_2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EHung.%3C%2FP%3E%3C%2FLINGO-BODY%3E