MCAL CAN plugin generation error

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

MCAL CAN plugin generation error

Jump to solution
2,663 Views
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?

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
2,498 Views
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".

View solution in original post

1 Reply
2,499 Views
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".