Porting UDS code of bootloader to APP

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

Porting UDS code of bootloader to APP

1,266 Views
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 Kudos
2 Replies

1,263 Views
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 Kudos

1,221 Views
nxf10035
NXP Employee
NXP Employee

Hello, yanren,

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

 

Best Regards!

0 Kudos