MCAL CAN plugin generation error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCAL CAN plugin generation error

跳至解决方案
3,627 次查看
talha_uyar
Contributor III

Hi, I was trying to generate the .cfg files for the Can plugin using Tresos. I get the following error and could not understand the reason. I am quite new at this so the issue might be trivial. 

All answers are appreciated,

M. Talha Uyar 

Error:

Parsing file "C:\EB\tresos\..\..\NXP\AUTOSAR\S32K14X_MCAL4_3_RTM_HF2_1_0_1\eclipse\plugins\Can_TS_T40D2M10I1R0/generate_PC/include/Can_Cfg.h (signed)", line "1366"
The XPath-expression "node:ref(CanGeneral/CanOsCounterRef)" caused an error: (1844) No node found for path ""

Edit: Ok, I see that I haven't set a Reference at the Can Counter Ref. section. So my question is how do I set up a counter to be referenced by the CAN plugin?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
3,462 次查看
hungnguyenphi
NXP Employee
NXP Employee

Hello Muhammet Uyar ,

User need to add module OS to have the Reference for the "Can Counter Ref".

If you don't want to use OS, please check to the "Can define loop as cycle* " to use "Can Timeout Duration (in Number of loops) (1 -> 65535)" instead of "Can Counter Ref".

在原帖中查看解决方案

1 回复
3,463 次查看
hungnguyenphi
NXP Employee
NXP Employee

Hello Muhammet Uyar ,

User need to add module OS to have the Reference for the "Can Counter Ref".

If you don't want to use OS, please check to the "Can define loop as cycle* " to use "Can Timeout Duration (in Number of loops) (1 -> 65535)" instead of "Can Counter Ref".