christoph2/pyxcp

ERROR:pyxcp.errorhandler:XcpTimeoutError [Response timed out [block_receive].]

MYAN65536 opened this issue · 7 comments

Hi!
When I run the program in the picture, this error is returned, and this error is 'ERROR:pyxcp.errorhandler:XcpTimeoutError [Response timed out [block_receive].] '.
When I debug the program, I see that the length of self.resQueue is 0.
1703059838299
1703060073312

I've solved the problem, thank you for contributing.

How did you solve it?

Problem with slave code.

Can you show me your code?

Sorry.It is the company code.

@MYAN65536 You can tell us the reason or idea for the fix without showing your code.

I also encountered the same problem, But I tried to modify "CAN_ID_MASTER" and "CAN_ID_SLAVE" in the configuration. Maybe the response time out is caused by you setting the wrong master and slave IDs.

@MYAN65536 You can tell us the reason or idea for the fix without showing your code.

I also encountered the same problem, But I tried to modify "CAN_ID_MASTER" and "CAN_ID_SLAVE" in the configuration. Maybe the response time out is caused by you setting the wrong master and slave IDs.

就是调试的时候发现的问题,我可以给你看我的配置文件
Snipaste_2024-01-24_20-40-09