hi Petr Stancik,
As follows:i want to develop CAN bootloader for update;
1. data_temp array is used for update PFlash data;
is from CAN interrupt
2. CAN FIFO mode config:
a. CAN init & CAN Filter config
I close CAN FD
b. start CAN recevie
c.intterupt
3. send CAN message
I send one CAN mesage every 100 ms through CAN tools,
but the data_temp array for recevie data is different form the data i send
Can you help me analyze the question ? thanks
Hi,
it seems the received yellow marked bytes are the one from address 50h of the srec file.
This may point you lost some frames. Do you call CanStartRecv() fast enough so RXFIFO can be read out? Should be called each time callback is executed.
BR, Petr