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:
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!
Solved! Go to Solution.
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.
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.
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
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