I cannot find CanIf.xdm

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I cannot find CanIf.xdm

ソリューションへジャンプ
1,878件の閲覧回数
talha_uyar
Contributor III

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

タグ(2)
0 件の賞賛
1 解決策
1,785件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Dear Muhammet Uyar,

MCAL driver just support CANIF as stub and does not have EB configuration for this.

Best regards,

Hung.

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
1,770件の閲覧回数
TrueTownSaver
Contributor I

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?

0 件の賞賛
1,786件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Dear Muhammet Uyar,

MCAL driver just support CANIF as stub and does not have EB configuration for this.

Best regards,

Hung.

0 件の賞賛
1,785件の閲覧回数
talha_uyar
Contributor III

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.?

0 件の賞賛
1,785件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

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.

0 件の賞賛
967件の閲覧回数
jcastillo17
Contributor I

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?

0 件の賞賛