Michael, thank you.
Everything works now. It took me a while to implement python canopen package which connects nicely with socketcan. Now it works and I am very grateful for your support.
Just for the reference. Activating can0:
sudo ip link set can0 up type can bitrate 12500
Then test:
pi ...
Search found 8 matches
- Sun 14. Apr 2019, 12:37
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
- Mon 8. Apr 2019, 17:07
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Hi Michael,
thank you.
I followed your instructions with:
make NET=NETDEV_SUPPORT PCI=NO PCIEC=NO PCC=NO DNG=NO PAR=NO ISA=NO
No errors reported after that. The "cat /proc/pcan" command displays "PEAK-System CAN interfaces" and after plugging it in it recognises 1 PCAN-USB interface.
Regards
thank you.
I followed your instructions with:
make NET=NETDEV_SUPPORT PCI=NO PCIEC=NO PCC=NO DNG=NO PAR=NO ISA=NO
No errors reported after that. The "cat /proc/pcan" command displays "PEAK-System CAN interfaces" and after plugging it in it recognises 1 PCAN-USB interface.
Regards
- Mon 8. Apr 2019, 12:25
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Hi Michael,
I changed the command from:
make -C driver NET=NETDEV_SUPPORT
to:
make -C driver NET=NETDEV_SUPPORT PCI=NO PCIEC=NO PCC=NO DNG=NO PAR=NO ISA=NO
and it passed.
Then I entered:
sudo make install
and I got this error:
pi@raspberrypi:/usr/src/Peak/peak-linux-driver-8.7.0 ...
I changed the command from:
make -C driver NET=NETDEV_SUPPORT
to:
make -C driver NET=NETDEV_SUPPORT PCI=NO PCIEC=NO PCC=NO DNG=NO PAR=NO ISA=NO
and it passed.
Then I entered:
sudo make install
and I got this error:
pi@raspberrypi:/usr/src/Peak/peak-linux-driver-8.7.0 ...
- Mon 8. Apr 2019, 12:06
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Hi Michael,
sorry, here is the command and the error:
pi@raspberrypi:/usr/src/Peak/peak-linux-driver-8.7.0 $ make -C driver NET=NETDEV_SUPPORT
make: Entering directory '/usr/src/Peak/peak-linux-driver-8.7.0/driver'
***
*** Host machine kernel version=4.14.98-v7+
*** Driver kernel version=4.14.98 ...
sorry, here is the command and the error:
pi@raspberrypi:/usr/src/Peak/peak-linux-driver-8.7.0 $ make -C driver NET=NETDEV_SUPPORT
make: Entering directory '/usr/src/Peak/peak-linux-driver-8.7.0/driver'
***
*** Host machine kernel version=4.14.98-v7+
*** Driver kernel version=4.14.98 ...
- Fri 5. Apr 2019, 18:06
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Thank you Michael. I followed your link, but I got stuck with this (in the attachment).
- Fri 5. Apr 2019, 10:19
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Michael thank you.
I am studying now how to do this. Raspbian in version 4.14 does not recognize PCAN-USB. After reading through many posts I concluded that I will need to reconfigure and recompile the kernel. It will take a while for me as I have never done it before.
I am studying now how to do this. Raspbian in version 4.14 does not recognize PCAN-USB. After reading through many posts I concluded that I will need to reconfigure and recompile the kernel. It will take a while for me as I have never done it before.
- Wed 3. Apr 2019, 07:40
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
Re: PCAN-USB make fails
Hi
I'd like to use socketcan and netdev not chardev because I need to imeplement CANopen. I have kernel 4.14.79, but ther is no peak_usb module. I understand I should rebuild kernel to enable socketcan. I can't find your specific documentation that describes how to enable socketcan on raspbian and ...
I'd like to use socketcan and netdev not chardev because I need to imeplement CANopen. I have kernel 4.14.79, but ther is no peak_usb module. I understand I should rebuild kernel to enable socketcan. I can't find your specific documentation that describes how to enable socketcan on raspbian and ...
- Tue 2. Apr 2019, 13:30
- Forum: Linux
- Topic: PCAN-USB make fails
- Replies: 13
- Views: 11684
PCAN-USB make fails
Hello everyone,
I tried to install the driver for PCAN-USB model IPEH-002021 on raspberry pi B3+ with raspbian. I use SW just downloaded from Peak. When running make I get the following:
pi@raspberrypi:~/Downloads/PCAN_Basic_Linux-4.2.2/pcanbasic $ make
Makefile:43: Making lib PCANBasic WITHOUT FD ...
I tried to install the driver for PCAN-USB model IPEH-002021 on raspberry pi B3+ with raspbian. I use SW just downloaded from Peak. When running make I get the following:
pi@raspberrypi:~/Downloads/PCAN_Basic_Linux-4.2.2/pcanbasic $ make
Makefile:43: Making lib PCANBasic WITHOUT FD ...