PCAN-USB stops receiving CAN messages on Linux (RaspberryPi)
Posted: Mon 21. Aug 2017, 20:06
Hello, i have a Problem with our PCAN-USB X6 in netdev mode on the Raspberry Pi.
Problem:
I receive CAN Data using candump and i also have a fast blinking green LED on the PCAN-USB device. After a period of time (appr. 7 to 10min) candump does not receive data anymore and the fast blinking LED turned into a slow blinking green LED.
When i try something like "ifconfig can1 down" or reloading the Module, the command hangs and after a while the system freezes.
System Information:
Raspberry Pi 3 / Raspbian / Kernel 4.9.41-v7+
PCAN Driver 8.4.0
netdev Mode settings:
output of /proc/pcan
Can someone help me how to overcome this issue or what i could try?
best regards,
David
Problem:
I receive CAN Data using candump and i also have a fast blinking green LED on the PCAN-USB device. After a period of time (appr. 7 to 10min) candump does not receive data anymore and the fast blinking LED turned into a slow blinking green LED.
When i try something like "ifconfig can1 down" or reloading the Module, the command hangs and after a while the system freezes.
System Information:
Raspberry Pi 3 / Raspbian / Kernel 4.9.41-v7+
PCAN Driver 8.4.0
netdev Mode settings:
Code: Select all
sudo ip link set can1 type can bitrate 50000
Code: Select all
*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20170613_n (8.4.0) Aug 21 2017 14:17:54 --------------
*---------------------------- [mod] [usb] [net] -----------------------------
*--------------------- 6 interfaces @ major 241 found -----------------------
*n -type- -ndev- --base-- irq --btr- --read-- --write- --irqs-- -errors- status
32 usbfd can1 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
33 usbfd can2 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
34 usbfd can3 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
35 usbfd can4 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
36 usbfd can5 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
37 usbfd can6 77 000 0x001c 00000000 00000000 00000000 00000000 0x0000
best regards,
David