S32K MCAL generate error

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

S32K MCAL generate error

215 Views
BarryQi
Contributor I

When I use tresos to generate the cfg for CAN, a error is reported as below: [C:\EB\Tresos\..\..\NXP\AUTOSAR\S32K1XX_MCAL4_3_RTM_1_0_5\eclipse\plugins\Can_TS_T40D2M10I5R0/generate_PB/src/Can_PBcfg.c (signed):237]: The HRH and HTH Ids are defined under two different name-spaces (Refer to CAN326). Example: HRH0-0, HRH1-1, HTH0-2, HTH1-3. The HRHs of all controllers are grouped before the HTHs of all controllers (there must not be any HTH of any controller with an object ID lower than that of any HRH configured for this driver). (node )

Could you help confirm the problem if my configuration is wrong

Tags (1)
0 Kudos
Reply
1 Reply

191 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it just says that you should have HTH (transmit handlers) Ids higher then HRH (receive handlers) Ids. So try to place the HRH before HTH as in the below image:
CanObjectId HRH HTH There must not be HTH with Object ID lower than that of any HRH configured.png

BR, Petr

0 Kudos
Reply