Search found 5 matches

by MarcusAA
Mon 25. Nov 2019, 08:21
Forum: Linux
Topic: PCAN-miniPCIe with SocketCAN
Replies: 11
Views: 14124

Re: PCAN-miniPCIe with SocketCAN

Hi,
I added the usemsi option and restarted the computer and now I can both send and receive messages.
Without taking up to much time I would like to know the following for future projects with the miniPCIe CAN module.

1. Why did the defaulter CAN drivers not work with the miniPCIe module?
2. Why ...
by MarcusAA
Fri 22. Nov 2019, 13:18
Forum: Linux
Topic: PCAN-miniPCIe with SocketCAN
Replies: 11
Views: 14124

Re: PCAN-miniPCIe with SocketCAN

Hi,
I am getting a bit closer to success now. This is what I have done.

1. Had to perform the following updated in order to successfully perform the command 'make NET=NETDEV_SUPPORT'
sudo apt-get install build-essential
sudp apt-get install linux-headers- 'uname -r'

2. Got an error 'fatal error ...
by MarcusAA
Thu 21. Nov 2019, 14:34
Forum: Linux
Topic: PCAN-miniPCIe with SocketCAN
Replies: 11
Views: 14124

Re: PCAN-miniPCIe with SocketCAN

Hi,
thanks for the clarification of how to set it up properly.
But, all the CAN modules are setup the same way and even if I use the provided command from your earlier post I can not read or send anything on can0 and can1.

I have no problem using:
cansend can2 123#1122334455667788
which increase ...
by MarcusAA
Wed 20. Nov 2019, 12:57
Forum: Linux
Topic: PCAN-miniPCIe with SocketCAN
Replies: 11
Views: 14124

Re: PCAN-miniPCIe with SocketCAN

Hi and thanks for your answer.
Question: command you have used to configure the device?
I have done no configuration at all. was not aware that I need to change anything...

ip link set can1 up
RTNETLINK answers: Operation not permitted

This error on the other hand is not persistent, when I use ...
by MarcusAA
Tue 19. Nov 2019, 17:14
Forum: Linux
Topic: PCAN-miniPCIe with SocketCAN
Replies: 11
Views: 14124

PCAN-miniPCIe with SocketCAN

I am attempting to use a PCAN-miniPCIe on my PC using SocketCAN. The basic test I have setup is to read and write a message on the CAN bus using the following command:
cansend can0 123#1122334455667788
and
candump can0
I have verified that the HW is correctly setup by probing the signal and ...