PCAN-miniPCIe Xenomai problem
Posted: Mon 29. Jul 2013, 12:20
I installed xenomai 2.6.2.1+kernel 2.6.32.20 along with self-contained, non-RT kernel (2.6.32.38) in Ubuntu 10.04.4.
First I install and test the CAN card in non-RT kernel, It transmits and receives perfect.
In Xenomai, I compile the driver as follows:
make KERNEL_LOCATION=‾/linux-2.6.32.20 RT=XENOMAI NET=NO PCI=PCI_SUPPORT PAR=NO USB=NO DNG=NO ISA=NO PCC=NO
And then :
make install
modprobe pcan
I can see pcan in directory /proc: And of course I can see pcan0 and pcan1 in directory /proc/xenomai/rtdm: I compiled minimal_xenomai examples:
make RT=XENOMAI
The question is , xenomai_transmit and xenomai_receive do not work.
xenomai_transmit_test runs runs well, but my CAN test module cannot receive any frame. Also when I runs xenomai_receive_test, the card cannot receive any frame, and cannot block.
So what's the problem?Thanks for your answering.
First I install and test the CAN card in non-RT kernel, It transmits and receives perfect.
In Xenomai, I compile the driver as follows:
make KERNEL_LOCATION=‾/linux-2.6.32.20 RT=XENOMAI NET=NO PCI=PCI_SUPPORT PAR=NO USB=NO DNG=NO ISA=NO PCC=NO
And then :
make install
modprobe pcan
I can see pcan in directory /proc: And of course I can see pcan0 and pcan1 in directory /proc/xenomai/rtdm: I compiled minimal_xenomai examples:
make RT=XENOMAI
The question is , xenomai_transmit and xenomai_receive do not work.
xenomai_transmit_test runs runs well, but my CAN test module cannot receive any frame. Also when I runs xenomai_receive_test, the card cannot receive any frame, and cannot block.
So what's the problem?Thanks for your answering.