EB Tresos error when configuring MCAL (RTD) components with Vector DaVinci Configurator Pro

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

EB Tresos error when configuring MCAL (RTD) components with Vector DaVinci Configurator Pro

Jump to solution
9,314 Views
muellermathias
Contributor III

Preconditions:

  • NXP RTD (MCAL for Autosar 4.4) [RTD S32K1 1.0.0.202108251230]
  • S32K derivate: S32K144, 100 pins (FS32K144HFT0xLL)
  • EB Tresos 28.0.0 (from NXP website)
  • Vector DaVinci Configurator 5.24.40 SP3
  • SIP from Vector
    • NXP RTD MCAL components and EB Tresos successfully integrated into SIP
    • provided Startup App working

Problem description:

I have a strange problem when creating an AUTOSAR BSW configuration from scratch with NXP MCAL components.

I was able to successfully integrate the NXP MCAL components and EB Tresos into the SIP using the 3rdPartyMcalIntegrationHelper  and the Vector provided Startup Application can be successfully generated in DaVinci Configurator pro - including the NXP MCAL components.

When I create a new config from scratch in DaVinci Configurator, I get an error when I try to validate my config for alle the NXP MCAL components (even if I import the ARXML from the working project) without further error message:

muellermathias_0-1649949536147.png

To know what's going on I checked the EB Tresos Log and it shows the following error:

Cannot get a resource file for target CORTEXM and derivate S32K14X. Maybe this is due to module restrictions.

I am really confused that Tresos seems to be unable to find the resource file because I can't find any setting in DaVinci Configurator to set any paths for it (double checked the working project and all settings seem to be the same).

Do you have any idea how to resolve this problem?

Where does Tresos look for the resource files etc.?

Thank you in advance!

 

Regards

Mathias

 

 

 

0 Kudos
Reply
1 Solution
9,260 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @muellermathias,

Could you try to remove the Resource module then re-add it?

Best Regards,

Nam

View solution in original post

7 Replies
9,241 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @muellermathias,

Unfortunately, I'm sorry that I don't know how to do, since I don't have the Da Vinci software in my site. Maybe it's a good idea to ask Vector for some supports.

Best Regards,

Nam

9,239 Views
muellermathias
Contributor III

Ok, thanks.

I am quite sure that I can't do this directly in DaVinci Configurator. I still think it's basically a Tresos issue.

I will check the options.

0 Kudos
Reply
9,261 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @muellermathias,

Could you try to remove the Resource module then re-add it?

Best Regards,

Nam

8,908 Views
pandit4india
Contributor I

Hello Sir,

Problem description:

I am facing a issue when generating an AUTOSAR MCAL code generation through DavinCi ,from the .arxml file exported from EBTresos with NXP MCAL plugin components using the vector SIP and  the 3rdPartyMcalIntegrationHelper.

I was able to successfully generate MCAL  code with DavinCi Pro but there is mismatching in structure index generation. for Example:

The file generated from EBtResos:

#define AdcConf_AdcConfigSet_0_AdcGroup_AdcGroup_Voltage_Measurements (1U)

The file generated from DavinVci:

#define AdcConf_AdcConfigSet_0_AdcGroup_AdcGroup_Voltage_Measurements (2U

Also for few modules the values are generating different.

 

Any suggestion or help would be really appreciated.

Thanks in Advance

0 Kudos
Reply
9,223 Views
muellermathias
Contributor III

Hello @namnguyenviet ,

You were absolutely right - the Resource module was even missing completely! 🤦

Thank you very much!

 

Here is how it can be added in DaVinci Configurator Pro:

Project Settings => Modules => click on the + symbol => Select from Software Integration Package (SIP) => Resource

That's it!

muellermathias_1-1650449870147.png

muellermathias_1-1650449129836.png

muellermathias_2-1650449155326.png

 

 

 

0 Kudos
Reply
4,770 Views
jianxun_liu
Contributor I

Hello @muellermathias,

Could you show me how to configure Code Generation for each NXP MCAL components ?

As well I am using Vector Davinci Configurator PRO to configure NXP MCAL components.

 

0 Kudos
Reply
9,248 Views
muellermathias
Contributor III

Hello @namnguyenviet,

Thank you for your reply.

Can you please describe how I can do that?

Thank you in advance.

Regards,

Mathias

0 Kudos
Reply