S32K MCAL generate error

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

S32K MCAL generate error

779 次查看
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

标记 (1)
0 项奖励
回复
1 回复

755 次查看
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 项奖励
回复