Closed kilianbr closed 4 years ago
Hi, when you are using the Python ISO-TP package from https://github.com/pylessard/python-can-isotp you can either use the user space based application or the kernel based implementation with the ISO-TP sockets. Your problem description shows that you try to access the kernel based implementation which requires a kernel module built from the code in this repository -> see https://github.com/hartkopp/can-isotp/blob/master/README.isotp
In his previous issue, @kilianbr mentioned that he did built the kernel module. Also, the error he would get if no kernel module was loaded would be "Protocol not supported". This error is something else. It almost looks like python doesn't support the protocol, but it should as it seems to be Python 3.7.
@kilianbr : Can you try to send data with isotpsend
and isotprecv
to discriminate Python?
Hi, first of all thanks for your replies. I think it has to do something with my kernel module. I have to use a yocto dunfell OS and to be honest, know only very little about that. Unfortunately I don't have access onto my device until next week and therefore can't try the suggested commands. I will try it and reply as soon as possible next week! Best regards
Hi @kilianbr, any update on this issue?
Hi @hartkopp, sorry that I didn't answer. It turned out that my organization didn't implement the CAN on the yocto image and therefore I wasn't able to open a socket. So it wasn't any error with the library but with my hardware. Thanks again for the replies and all the best!
Hi everyone, I'm trying to use this library on a Jetson TX2 Board (arm architecture if that matters) inside of an docker container.
If I test the following code from the docs:
I get the following error message:
I already searched the internet but didn't find anything helping me in this context. I am not sure why it isn't working (it worked before on a RPI3). Ifconfig shows both interfaces, can0 and can1.
I would really appreciate any help!