This forum covers PCAN-Linux and Linux development issues concerning our products
-
jay16814
- Posts: 1
- Joined: Mon 20. Apr 2020, 04:06
Post
by jay16814 » Mon 20. Apr 2020, 05:06
Hi, PEAK-system team:
Here is my question. I want to know PCAN-View Linux software if is support on rtcan.
Please also check my system environments.
- Device interface: PCAN-miniPCIe Single Channel

- My system.jpg (58 KiB) Viewed 2718 times
PCAN-View not recognizing rtcan0.

- PCAN-View.png (19.94 KiB) Viewed 2718 times
Any ideas?
Thank you!

-
S.Grosjean
- Software Development

- Posts: 357
- Joined: Wed 4. Jul 2012, 17:02
Post
by S.Grosjean » Mon 20. Apr 2020, 09:29
Hi,
You're mixing several things:
- the xeno_can_peak_pci which is the Xenomai embedded RT driver that proposes the RT-socket-CAN interface
- the peak-linux-driver (aka pcan driver) that proposes a proprietary interface based on the RTDM one
If the xeno-can-peak-pci driver runs then it handles the PEAK mini PCIe board. That's the explanation why the "pcan" driver doesn't see any card. If you wanted that the mini PCIe board be handled by the pcan driver, then you'll should have first to remove the xeno-can-peak-pci driver:
Code: Select all
$ sudo rmmod pcan
$ sudo rmmod xeno_can_peak_pci
$ sudo modprobe pcan
PCAN-View ncurses version runs over the peak-linux-driver (aka pcan), therefore it can't run over the socket-CAN nor over the RT-socket-CAN API.
Finally, in any case, PCAN-View is able to run as a RT task because NCurses is not able to. If you'd like to run a RT task over the pcan driver, then run (for example) the test/pcanfdtst RT application you'll find in the peak-linux-driver-x.y.z directory.
Regards,
— Stéphane