Porting UDS code of bootloader to APP

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

Porting UDS code of bootloader to APP

2,735 次查看
yanren
Contributor I

According to the bootloader routine published on the NXP offical website, I set main.c and bootloader_main.c migrates UDS related code to another APP program,but when compiling,

BSP in main()

{

CAN_InstallEventCallback(&can_pall_instance,&CAN_RXMsaghandle,NULL_ptr)

}

question(argument of type "void (*) (u32, can_event_t,u32,void*)" is incompatible with parameter of type "can_callback_t"")

0 项奖励
回复
2 回复数

2,732 次查看
yanren
Contributor I

 I solved the incompatibility problem-uint32_t(old) and U32(new) are inconsistent,only u32 is defined.Although I transplanted the code in the past,I can't send and receive messages normally,I can't find the problem.

0 项奖励
回复

2,690 次查看
nxf10035
NXP Employee
NXP Employee

Hello, yanren,

    For problem, I suggest you  reference the example code from S32DS. 

 

Best Regards!

0 项奖励
回复