In the AUTOSAR_MCAL_CAN_IM.pdf file it is stated that the CanIf plugin is also required to implement the CAN plugin. However, when I try to add the CanIf module on Tresos, it gives an error saying that config/CanIf.xdm cannot be found. Indeed under my EB\tresos\plugins\CanIf_TS_T40D2M10I1R0 directory there are only two directories named "include" and "META-INF".
Do I have to downlaod it seperately? If so, where can I download it from?
Thanks in advance,
M. Talha Uyar
Solved! Go to Solution.
Dear Muhammet Uyar,
MCAL driver just support CANIF as stub and does not have EB configuration for this.
Best regards,
Hung.
Hello, I have a similar question. When I use "Can_SetControllerMode(0,CAN_CS_STARTED); " API then compile. The Console given ./src/CAN/src/Can_Flexcan.o: In function `Can_FlexCan_SetControllerToStopMode':
E:\Codes\S32Codes_Test\MCAL_TEST\Debug_FLASH/../src/CAN/src/Can_Flexcan.c:1806: undefined reference to `CanIf_ControllerModeIndication'. It seems that there is no source file in CanIf folder, but CanIf_ControllerModeIndication API was given in CanIf_Cbk.h. So where can I download the CanIf source file?
Dear Muhammet Uyar,
MCAL driver just support CANIF as stub and does not have EB configuration for this.
Best regards,
Hung.
Ok, so no generated files are required from the CanIf such Cfg files, right? Also, can I assume that this is true for all the plugins missing the .xdm files such as Det, MemIf, Rte etc.?
Yes, in MCAL Driver no generated files are required from the CanIf(and the other stub module as MemIf,...) such Cfg files.
Best regards,
Hung.
Hi , I would like to know if there isn’t any implementation of the source code for canif ? When I add the can component to my project it doesn’t compile because the can component calls an api from canif and just the prototype of the function exists in canif.h .. is there any way for generating some sort of apis just for test purposes that provide just basic functionality?