I've got a few adapters which appear to stop receiving data (possibly after the bus goes passive). To recover from the situation the program using the adapter must be closed and the module removed and reloaded...
I've setup a simple test with our device and the adapter being the only things on the bus. The PCAN adapter sends out a single message and our device responds. An oscilloscope verifies that the PCAN adapter is ACKing the response packet, but USB MON does not show any Bulk Input transfers from the adapter.
running rmmod pcan; modprobe pcan and restarting my binary immediately fixes the issue.
The issue is intermittent
Driver: 8.3.1
pcanfd API
Kernel: 4.4.0-78-lowlatency
OS: XUbuntu 14.04 LTS
Has anyone else seen similar behavior?
PCAN USB RX stops and requires reloading module
Re: PCAN USB RX stops and requires reloading module
Hi,
please post the output of cat /proc/pcan before and after transmitting the message. Sure you have termination resistors in your CAN cables?
regards
Michael
please post the output of cat /proc/pcan before and after transmitting the message. Sure you have termination resistors in your CAN cables?
regards
Michael