Search found 15 matches

by lepalom
Thu 3. May 2018, 15:41
Forum: Linux
Topic: Peak driver under Xenomai 3.x
Replies: 1
Views: 3035

Peak driver under Xenomai 3.x

Hi,

some months ago [1] were posted that with the 8.5 version it could be used with Xenomai 3. I have checked 8.5.1, and it doesn't build with make xeno3.

Any progress on this topic?

Regards,

Leopold

[1] https://www.peak-system.com/forum/viewt ... 1588#p7005
by lepalom
Tue 10. Oct 2017, 16:41
Forum: Linux
Topic: peak-linux-driver_7.15.2 on Xenomai-3.0.1
Replies: 6
Views: 8710

Re: peak-linux-driver_7.15.2 on Xenomai-3.0.1

Ok, perfect. I can test.

I'm preparing also the debian package.
by lepalom
Tue 10. Oct 2017, 11:47
Forum: Linux
Topic: peak-linux-driver_7.15.2 on Xenomai-3.0.1
Replies: 6
Views: 8710

peak-linux-driver_8.X on Xenomai-3.X

Any new about this issue? (support of Xenomai 3.X)
by lepalom
Mon 29. May 2017, 13:35
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

Hi,

It looks like you're always receiving these CAN messages every 3 ms from the bus:

id=979 len=8
id=980 len=8
id=981 len=8
id=982 len=8

Could you first check if it's normal.



Yes, it's normal. We try to make some control.



Next, with such a high frequency of reception, you could try to ...
by lepalom
Mon 29. May 2017, 12:28
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

Done!!!!
by lepalom
Mon 29. May 2017, 11:32
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

Hello,

Generally speaking, the -28 error occurs when the Rx FIFO of the driver receiving messages from the hardware is full.
$ cat /proc/pcan

*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20170214_n (8.3.1) May 25 2017 12:47:49 ...
by lepalom
Mon 29. May 2017, 11:06
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

Hi,

do you use any USB hubs or extension cables in your setup? What kind of CAN hardware/CAN cables do you use on your CAN system, and which baudrate do you use? (pcan32 uses 1Mbit/s while pcan33 is on 500k)

regards

Michael

I don't use any USB hub or extension cable.

I'm using a robotic hand ...
by lepalom
Mon 29. May 2017, 09:13
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

I have used again the peak-usb device and then:

$ cat /proc/pcan

*------------- PEAK-System CAN interfaces (http://www.peak-system.com) -------------
*------------- Release_20170214_n (8.3.1) May 25 2017 12:47:49 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc ...
by lepalom
Mon 29. May 2017, 09:02
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

$ uname -a

Linux grasp 4.9.0-0.bpo.2-amd64 #1 SMP Debian 4.9.18-1~bpo8+1 (2017-04-10) x86_64 GNU/Linux

I have tested it too in

Linux spectra 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux

with the same result.

$ lsusb -d 0c72: -v

Bus 004 Device 004: ID 0c72:000c PEAK ...
by lepalom
Thu 25. May 2017, 14:38
Forum: Linux
Topic: pcan: pcan_xxxdev_rx(1) failure
Replies: 13
Views: 13435

Re: pcan: pcan_xxxdev_rx(1) failure

just an clarification. I'm not using the Xenomai driver. Just the standard Linux driver. In any case, I have tested it with another kernels (non-RT) and it fails in the same way.

Best regards,

Leopold