Indeed. On my DesktopPC can0 showed up after a kernel update to 4.2, but no "ISO-CAN-FD" support (fd-non-iso on)--> see [1]
To get "can0" on the Raspberry pi it was necessary to compile the kernel again. But also here no "ISO-CAN-FD" support --> see also [1]
way to compile the RPi kernel ...
Search found 10 matches
- Mon 30. May 2016, 22:56
- Forum: PCAN-USB FD
- Topic: Full PCAN-USB (pro) FD support in Linux 4.0
- Replies: 8
- Views: 16861
- Fri 20. May 2016, 10:21
- Forum: PCAN-USB FD
- Topic: Full PCAN-USB (pro) FD support in Linux 4.0
- Replies: 8
- Views: 16861
Re: Full PCAN-USB (pro) FD support in Linux 4.0
What kind of OS are you using for your Raspi3????
I using the Raspian image from raspberrypi.org.
The Raspian Images are Debian based where CONFIG_CAN and friends are enabled by default.
I could not check the Kernel options on the RPi, because there is no /boot/config-$(uname -r).
Installing ...
I using the Raspian image from raspberrypi.org.
The Raspian Images are Debian based where CONFIG_CAN and friends are enabled by default.
I could not check the Kernel options on the RPi, because there is no /boot/config-$(uname -r).
Installing ...
- Thu 19. May 2016, 16:25
- Forum: PCAN-USB FD
- Topic: Full PCAN-USB (pro) FD support in Linux 4.0
- Replies: 8
- Views: 16861
Re: Full PCAN-USB (pro) FD support in Linux 4.0
Hey,
so...mhh....my problem before was that my kernel does not support the SocketCAN option.
For this reason i installed the peak driver (by using the the linux-header) to enable the SocketCAN option.
So how do i install the "4.1 kernel version for SocketCAN"?
so...mhh....my problem before was that my kernel does not support the SocketCAN option.
For this reason i installed the peak driver (by using the the linux-header) to enable the SocketCAN option.
So how do i install the "4.1 kernel version for SocketCAN"?
- Thu 19. May 2016, 14:36
- Forum: PCAN-USB FD
- Topic: Full PCAN-USB (pro) FD support in Linux 4.0
- Replies: 8
- Views: 16861
Re: Full PCAN-USB (pro) FD support in Linux 4.0
Hello,
- i upgraded the firmware to 2.2.1
- $ uname -r: 4.1.19-v7+
- i installed the drivers for socketcan (8.0.20)
- the platform is a Raspberry Pi 3
and my problem is that the "fd-non-iso" option is not available. So what am i doing wrong?
$ sudo ip link set can0 up type can bitrate 500000 ...
- i upgraded the firmware to 2.2.1
- $ uname -r: 4.1.19-v7+
- i installed the drivers for socketcan (8.0.20)
- the platform is a Raspberry Pi 3
and my problem is that the "fd-non-iso" option is not available. So what am i doing wrong?
$ sudo ip link set can0 up type can bitrate 500000 ...
- Wed 11. May 2016, 11:38
- Forum: Linux
- Topic: TX_SETUP; Low Level CAN Framework; Broadcast Manager
- Replies: 3
- Views: 8724
Re: TX_SETUP; Low Level CAN Framework; Broadcast Manager
Thanks a lot. I'm completely new to this topic and yes i just need to keep the program running.
A simple getchar() worked (see code).
Thanks again and thanks for your time.
...
write(s, &msg, sizeof(msg));
printf("To end the transmission hit a key: ");
getchar();
printf("\n");
return 0 ...
A simple getchar() worked (see code).
Thanks again and thanks for your time.
...
write(s, &msg, sizeof(msg));
printf("To end the transmission hit a key: ");
getchar();
printf("\n");
return 0 ...
- Tue 10. May 2016, 11:48
- Forum: Linux
- Topic: TX_SETUP; Low Level CAN Framework; Broadcast Manager
- Replies: 3
- Views: 8724
TX_SETUP; Low Level CAN Framework; Broadcast Manager
I'm working on the "Low Level CAN Framework" with the PCAN-USB FD to setup a cyclic transmission per "Broadcast Manager".
I followed the expamle here: http://www.brownhat.org/docs/socketcan/llcf-api.html#SECTION00062000000000000000
But when i start my program it only sends the frame once. But i ...
I followed the expamle here: http://www.brownhat.org/docs/socketcan/llcf-api.html#SECTION00062000000000000000
But when i start my program it only sends the frame once. But i ...
- Tue 10. May 2016, 11:35
- Forum: Linux
- Topic: start with PCAN-USB FD on Raspberry Pi 3, but get error
- Replies: 6
- Views: 13184
Re: start with PCAN-USB FD on Raspberry Pi 3, but get error
But how do i close this topic?
-- Thread closed ---
-- Thread closed ---
- Tue 10. May 2016, 11:31
- Forum: Linux
- Topic: start with PCAN-USB FD on Raspberry Pi 3, but get error
- Replies: 6
- Views: 13184
Re: start with PCAN-USB FD on Raspberry Pi 3, but get error
Thanks for your tips. Indeed with a second ECU it worked without errors.
The other problem was that the kernel option for the netdev was not set. That was the reason why i used the separate PEAK-Linux driver to activate the kernel option.
Thanks for your help.
The other problem was that the kernel option for the netdev was not set. That was the reason why i used the separate PEAK-Linux driver to activate the kernel option.
Thanks for your help.
- Fri 29. Apr 2016, 12:36
- Forum: Linux
- Topic: start with PCAN-USB FD on Raspberry Pi 3, but get error
- Replies: 6
- Views: 13184
Re: start with PCAN-USB FD on Raspberry Pi 3, but get error
Okay, i wanna check this.
Thanks for now.
Thanks for now.
- Fri 29. Apr 2016, 09:58
- Forum: Linux
- Topic: start with PCAN-USB FD on Raspberry Pi 3, but get error
- Replies: 6
- Views: 13184
start with PCAN-USB FD on Raspberry Pi 3, but get error
Hello,
i hope the category accords.
I setup the PCAN-USB FD on my Rpi3 and successfully compiled the netdev driver. I have no ECU to communicate now.....so i just terminated the CAN-Bus as you can see in the attachment (60 OHM and no Bus cable) for testing the adapter.
But:
I when i plug it in ...
i hope the category accords.
I setup the PCAN-USB FD on my Rpi3 and successfully compiled the netdev driver. I have no ECU to communicate now.....so i just terminated the CAN-Bus as you can see in the attachment (60 OHM and no Bus cable) for testing the adapter.
But:
I when i plug it in ...