Bernd,
It's been some time since communicating; I have turned my attention from another project back to getting the UCB2CAN device to function. Following your replies to my posts, please note the following.
I'm running the following (from dmesg):
Ubuntu Linux Release: 14.04
Kernel 3.13.0-85-generic (newer than kernel version 3.9)
dmesg query shows the following
[ 1083.782149] usb 2-1.3: Product: USB2CAN converter
[ 1083.782154] usb 2-1.3: Manufacturer: edevices
[ 1083.782159] usb 2-1.3: SerialNumber: ED000200
[ 1083.825976] CAN device driver interface
[ 1083.845203] usb_8dev 2-1.3:1.0 can0: firmware: 1.7, hardware: 1.0
[ 1083.845386] usbcore: registered new interface driver usb_8dev
This compares favorably with the criteria you laid out:
[23.895986] CAN device driver interface
[ 23.992073] usb_8dev 1-4.1.2:1.0: can0: firmware: 1.5, hardware: 1.0
[ 23.992299] usbcore: registered new interface driver usb_8dev
I use socketCAN to connect to the car and follow the command structure laid out in the documentation (
https://www.kernel.org/doc/documentatio ... ng/can.txt). I've tried the following bitrates/sample points (note that socketCAN automatically sets the sample point when the bitrate is selected).
1000kbits/0.75
800kbits/0.80
500kbits/0.875
250kbits/0.875
125kbits/0.875
50kbits/0.875
20kbits/0.875
10lbitd/0.875
Which you will no doubt recognize as “standard” bitrates. I have also tested at 10.4kbits and 41.6kbits because I am working in a car on the 1850VPW OBD system and those are the specified bitrates for that standard.
At every bitrate I get frame format errors, bit stuffing errors, and crc delimiter errors. I believe that the bit stuffing errors are related to having the wrong bitrate; no;t sure what causes the other errors. That said, I have to believe that this should work at one of these bitrates.
As always, I appreciate your responses and assistance, but it seems that having done all this I should be seeing consistent, reliable results from the USB2CAN device. Clearly, that's not happening.
What does one have to do to make this work?