I found this amazing stack during my research an now i am using this stack to implement Client application on Renesas platform(basically for firmware upgrade of ECU).During data transfer request, i am facing some issue which i am not able to understand. When i start to send data to ECU using SID 0x36, i am supposed to send 2050 byte to ECU. I am able to send 22 blocks of data of size 2050 bytes using this stack. When 23rd block is started to send, stack is not able to send all 2050 bytes to ECU in consecutive frames. It gets stuck after sending 2013(this may change) bytes and waits for the response from ECU but as ECU is expecting 2050 bytes ,it does not send the response.
What could be the possible reason stack is not sending complete data? attaching CAN traces for reference. Please ignore double response frames.
I have added logs for request 0x36 only.
Any help would be appreciated! Thanks.
Hi Everyone,
I found this amazing stack during my research an now i am using this stack to implement Client application on Renesas platform(basically for firmware upgrade of ECU).During data transfer request, i am facing some issue which i am not able to understand. When i start to send data to ECU using SID 0x36, i am supposed to send 2050 byte to ECU. I am able to send 22 blocks of data of size 2050 bytes using this stack. When 23rd block is started to send, stack is not able to send all 2050 bytes to ECU in consecutive frames. It gets stuck after sending 2013(this may change) bytes and waits for the response from ECU but as ECU is expecting 2050 bytes ,it does not send the response. What could be the possible reason stack is not sending complete data? attaching CAN traces for reference. Please ignore double response frames. I have added logs for request 0x36 only. Any help would be appreciated! Thanks.
error logs.txt