OSError: Could not autodiscover CAN Channel in Linux / Raspberry Pi #175
-
Hi When trying to launch tinymovr, the launch process aborts with the error message: I installed tinymovr as described in "From Zero to Spin" on the Raspberry Pi and with conda on the host machine. I installed tinymovr on 3 different Linux distributions:
The hardware setupt is as follows:
I tried to connect to a single and to both tinymovr boards at the same time. Cables are all ok and plugs are in the right spot. Switches on the tinymovr boards are as they should be. I tried the setup with a single and two terminal resistors, there is no influence. I am not sure if the tinymvor board gets detected by the CANine adapter. I am new to can bus and to tinymovr. This was actually the first time I tried to launch the system. Here is the whole error message:
Any ideas? What am I overseeing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If I understand correctly, you are using the CANine-specific firmware at https://github.com/tinymovr/CANine ? This firmware requires a fork of Python-CAN to be installed, otherwise it is not detected. In addition, |
Beta Was this translation helpful? Give feedback.
-
Hi Yannis Thank you for your quick reply. I could solve the problem. After updating the CANine adapter to a new firmware (slcan), the adapter was recognized on the host computer, but not on the raspberry pi. After downgrading tinymovr to version 0.3.11 with With the candlelight firmware I still get the error message I think the reason why the raspberry pi didn't show the compatibility message with tinymovr studio 0.3.12 and slcan firmware is because the Best regards |
Beta Was this translation helpful? Give feedback.
Hi Yannis
Thank you for your quick reply. I could solve the problem.
Yes, I flashed the CANine adapter with the CANine-specific firmware. With the CANine-specific firmware no device node in
/dev
was found (missing driver).After updating the CANine adapter to a new firmware (slcan), the adapter was recognized on the host computer, but not on the raspberry pi.
With the new firmware installed I was able to launch tinymovr studio on the host machine with the compatibility message:
Node fw version incompatible (found: 0.8.11, required: 0.8.12)
.Despite the new firmware on the CANine adapter, the error message
OSError: Could not autodiscover CAN channel
still showed up on the raspberry pi when…